simplify transposed bits calculation

Just a minor tweak