Create maxSubMatrix