Solved max slice sum