Code Optimization and Stabilization for a High-Resolution Terrain Generation Application. | AMiner