Messed up bitshifts