[mod] clean up
[new] size of the largest square sub-matrix with all 1s