DP: Max sum of increasing subsequences