grid size adjustment