mapgen updated to first version