fix defect for max-subsequence-sum.c