Updating generation functions to use Grid.grid_unused.