rescale grid