revert bit positions