add largest square matrix