Balanced Partition