Some slightly better bit shifting