SubMatrixWithMaxSum
moderate update