No need to compute valBit until mask bit is 1.