rebalance selectable number of partitions