tcElevationOptimization: fix typo s/write/read/