Simplify rebalanceGroups()