ng difference
       value, unless min/max are more */

    p-&gt;dynoverlap=(p-&gt;stage1.offpoints?p-&gt;stage1.offdiff/
         p-&gt;stage1.offpoints*3:CD_FRAMEWORDS);

    if(p-&gt;dynoverlap&lt;-p-&gt;stage1.offmin*1.5)
      p-&gt;dynoverlap=-p-&gt;stage1.offmin*1.5;
                       
    if(p-&gt;dynoverlap&lt;p-&gt;stage1.offmax*1.5)
      p-&gt;dynoverlap=p-&gt;stage1.offmax*1.5;

    if(p-&gt;dynoverlap&lt;MIN_SECTOR_EPSILON)p-&gt;dynoverlap=MIN_SECTOR_EPSILON;
    if(p-&gt;dynoverlap&gt;M