Find the maximum sum subset