shiftR -> shiftL in getBit