anchor.diff:        goto 30
       end if
       cheby_maxOrder(ifile)=max(ii,jj,cheby_maxOrder(ifile))
  -    if ( cheby_maxOrder(ifile).gt.cheby_maxNterms-1 ) then
  +    if ( cheby_maxOrder(ifile) > cheby_maxNterms-1 ) then
         write(lerr,"(2(a,i0))") "CHEBY> ERROR order of map too high: ",cheby_maxOrder(ifile), &
                                               " >",cheby_maxNterms-1
         write(lerr,"(a)")       "CHEBY>       please increase cheby_maxNterms parameter"
  
positive.code:     call cheby_expand_arrays_map_echo(ncheby_mapEchoes)
      cheby_mapFileName(ncheby_mapEchoes) = trim(lnSplit(3))
      cheby_iLens(ncheby_mapEchoes) = icheby(iElem)
      if (nSplit > 3 ) then
        if (nSplit<9) then
          write(lerr,"(a,i0)") "CHEBY> ERROR Expected 8 input parameters, got ",nSplit
          write(lerr,"(a)")    "CHEBY> format of SHOW line:"
          write(lerr,"(a)")    "SHOW name filename xmin[mm] xmax[mm] nx ymin[mm] ymax[mm] ny"
  
negative.code:       ax=abs(xxn)
        ay=abs(yyn)
        ! (x,y)<r1 or ( (xx>r2) || (yy>r2) ): no kick from lens
        if ( (ax < r1lteps .and. ay < r1lteps) .or. (ax > r2gteps .or. ay > r2gteps) ) inside=0
        ! compute kick from cheby map
        call cheby_getPotential( xxn, yyn, zz, cheby_itable(iLens) )
        write(fUnit,'(5(1X,1pe22.15),1X,i0)') xx, yy, xxn, yyn, zz, inside
  