passing currently built map to generator