Changes grid size.