pan/bi: Set back-to-back bit more accurately