Added shiftLeft on server side