added negative greatest consecutive sum