Finish max sum arrays