partition of the sum