Fixed selection of the number of rows and columns.