bug fixed, max sum increasing subsequence

bug fixed, max sum increasing subsequence