So I get an error when I try to compile this cave. I just added a new survey. A few stations were missing. It all compiled properly. When I added the stations I get this error output. If I comment out survey legs 72-73-74-75-76-77-78-79-80 then everything compiles properly. Output and th file follow. Rob therion 5.3.16 initialization file: /usr/local/etc/therion.ini reading ... done configuration file: thconfig.thconfig reading ... done reading source files ... done preprocessing database ... done output coordinate system: UTM9 meridian convergence (deg): -1.6174 geomag declinations (deg): 1982.1.1 23.0300 1983.1.1 22.9182 1984.1.1 22.8065 1985.1.1 22.6947 1986.1.1 22.5800 1987.1.1 22.4652 1988.1.1 22.3504 1989.1.1 22.2355 1990.1.1 22.1205 1991.1.1 21.9916 1992.1.1 21.8627 1993.1.1 21.7339 1994.1.1 21.6052 1995.1.1 21.4765 1996.1.1 21.3119 1997.1.1 21.1472 1998.1.1 20.9827 1999.1.1 20.8181 2000.1.1 20.6535 2001.1.1 20.4500 2002.1.1 20.2465 2003.1.1 20.0430 2004.1.1 19.8394 2005.1.1 19.6359 2006.1.1 19.4264 2007.1.1 19.2167 2008.1.1 19.0069 2009.1.1 18.7970 2010.1.1 18.5869 2011.1.1 18.3842 2012.1.1 18.1812 2013.1.1 17.9779 2014.1.1 17.7744 2015.1.1 17.5706 2016.1.1 17.3972 scanning centreline tree ... done searching for centerline loops ... done calculating station coordinates ... done average loop error: 0.41% calculating basic statistics ... done processing extended elevation ... done processing references ... done selecting export objects ... done processing projection plan ... done writing Resonance.xvi ... done writing ResonancePlan.pdf ... ####################### metapost log file ######################## This is MetaPost, version 1.902 (TeX Live 2014) (kpathsea version 6.2.0) 28 SEP 2015 22:40 **data.mp (/usr/local/texlive/2014/texmf-dist/metapost/base/mpost.mp (/usr/local/texlive/2014/texmf-dist/metapost/base/plain.mp Preloading the plain mem file, version 1.005) ) (./data.mp [4001] [4002] [4003] [4004] [4005] [4006] [4007] [4008] [4009] [4010] [4011] [4012] ! Number is too large (4140.07). l.6213 ...e(((602.97,-3964.48) -- (607.41,-4140.07 ))); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4140.07). l.6223 l_survey_cave(((607.41,-4140.07 ) -- (534.29,-4105.11))); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4105.11). l.6223 ...e(((607.41,-4140.07) -- (534.29,-4105.11 ))); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4140.07). l.6228 l_survey_cave(((607.41,-4140.07 ) -- (602.97,-3964.48))); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4105.11). l.6233 l_survey_cave(((534.29,-4105.11 ) -- (527.64,-4072.27))); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4105.11). l.6238 l_survey_cave(((534.29,-4105.11 ) -- (607.41,-4140.07))); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4140.07). l.6238 ...e(((534.29,-4105.11) -- (607.41,-4140.07 ))); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4105.11). l.6248 ...e(((527.64,-4072.27) -- (534.29,-4105.11 ))); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4140.07). l.8598 p_station((607.41,-4140.07 ),1,0,""); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Value is too large (-4140.07). p_station->T:=identity.shifted(EXPR0); if(EXPR1)=4:p_station_fixed((EXPR0))el... l.8598 p_station((607.41,-4140.07),1,0,"") ; The equation I just processed has given some variable a value outside of the safetyp range. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Value is too large (-4140.07). p_station_temporary->T:=identity.shifted(EXPR0); pickup.PenD;p:=(-0.2u,0)--(0... p_station->...XPR1)=1:p_station_temporary((EXPR0)) fi;path.path_cave;path_cav... l.8598 p_station((607.41,-4140.07),1,0,"") ; The equation I just processed has given some variable a value outside of the safetyp range. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4105.11). l.8601 p_station((534.29,-4105.11 ),1,0,""); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Value is too large (-4105.11). p_station->T:=identity.shifted(EXPR0); if(EXPR1)=4:p_station_fixed((EXPR0))el... l.8601 p_station((534.29,-4105.11),1,0,"") ; The equation I just processed has given some variable a value outside of the safetyp range. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Value is too large (-4105.11). p_station_temporary->T:=identity.shifted(EXPR0); pickup.PenD;p:=(-0.2u,0)--(0... p_station->...XPR1)=1:p_station_temporary((EXPR0)) fi;path.path_cave;path_cav... l.8601 p_station((534.29,-4105.11),1,0,"") ; The equation I just processed has given some variable a value outside of the safetyp range. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) [1] ! Number is too large (4140.07). l.9419 ...ar53 \mainfont{} etex, (607.41, -4140.07 ), 0.0, 7); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) ! Number is too large (4105.11). l.9421 ...ar54 \mainfont{} etex, (534.29, -4105.11 ), 0.0, 7); It is at least 4096. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) [2] [3] (./mptextmp.mp) [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] ) Here is how much of MetaPost's memory you used: 31576 strings using 1002058 characters 3154088 bytes of node memory 1401 symbolic tokens 8i,81n,16p,233b,5f stack positions out of 16i,96n,20p,250b,6f 26 output files written: data.1 .. data.4012 #################### end of metapost log file #################### therion: error -- metapost exit code -- 512 writing xtherion file ... done ================================================================== Here is the data file ======================================================== survey FarSide2 -title "FarSide2" centerline cs UTM9 data normal from to length compass clino date 2015.09.15 team "Peter Curtis" team "Alisa Vanderberg" team "Kevin Huntington" 40 41 29.1 0 -90 41 42 12.5 028 -27 42 43 14.4 355 -17 43 44 13.7 234 9 44 45 13.8 177 32 45 46 5.63 228 22 46 47 9.3 212 -6 47 48 4.6 218 47 48 49 3.6 196 2 43 50 3.9 089 -12 50 51 1.8 36 19 51 52 10.2 094 -16 52 53 1.51 183 2 53 54 9.3 249 11 53 55 8.1 084 -7 55 56 8.75 152 2 56 57 9.65 16 -1 57 58 3.62 9 -52 58 59 3.46 341 -53 59 60 4.86 322 -7 60 61 4.34 009 -2 61 62 12.19 334 -9 62 63 4.07 264 11 63 64 4.48 248 4 64 65 2.59 267 13 65 66 6 304 7 66 67 5 284 2 67 68 9.83 039 -24 68 69 1.8 3 4 62 70 10.91 330 4 69 71 4.93 338 -11 71 72 2.57 58 -16 72 73 5.0 339 -27 73 74 4.43 34 -4 74 75 4.44 088 -24 75 76 9.1 121 -43 76 77 13.4 63 -27 77 78 6.79 99 -57 78 79 10.35 096 -72 79 80 8.2 93 -17 endcenterline endsurvey