Maximum Size square sub matrix