Create findMaxSum