add max_subsequence_sum