simplify transposed bits calculation