defining ring rebalance