the maximum sum of its subset