find the max sequence sub array