Making initial grid