Bits mirroring routine.