max sub sums
fix