Adds blocks structure to grid.