finish map generation