Added limit for the amount of rows/cols