slight optimization to bitwise alu ops