Ensure rebalancing is a single atomic operation making locks unnecessary.