limit the size of cols and rows

- max 20