bits to convert a to b