starting to generate grid