Many rows and columns detection