terrain.py semi_finalize
general