finished max-subarray problem