shiftLeft() and shiftRight() fixes when n > 16