the largest sum of submatrixes