   if(fb(v)&lt;av || cb(v-&gt;one)&lt;av){
       v-&gt;one=NULL;
     }else{
       fb(v)-=av;
     }
     v=v_next(v);
   }
   while(c){
     long adj=min(av,cb(c));
     c_set(c,cb(c)-adj);
     c=c_next(c);
   }
      }

      p-&gt;stage2.offaccum=0;
      p-&gt;stage2.offmin=0;
      p-&gt;stage2.offmax=0;
      p-&gt;stage2.offpoints=0;
      p-&gt;stage2.newpoints=0;
      p-&gt;stage2.offdiff=0;
    }
  }

  if(p-&gt;stage1.offpoints&gt;=10){
    /* dynoverlap: we arbitrarily set it to 4x the runni