More bit twiddling