add max subsequence sum