Leveraged better bit shifting code.