Bit refactoring