An optimal control method for high accuracy surface modeling and its application to DTM construction