Chang the structure of grid