a max sum sbuarray.