Removed all references to max_row and max_col as separate.
Replaced with grid_size.