bits to bitops