resize grid