adjust grid size