Finished dynamic grid generation.