reorganize dp
add balancedPartition dp td