anchor.diff:                          false -> batch_size(BatchEnd - BatchStart, GotTime, NeedToSleep, Batch)
                       end,
   
  -                    timerun(Start, Shift, TimeFun, NewRate, Body, WorkerProvider, Env, false, Opts, NewBatch, NextState, Done + Step*Batch, NewRun)
  +                    timerun(Start, Shift, TimeFun, NewRate, Body, WorkerProvider, Env, false, Opts, NewBatch, NextState, Done + Step*Batch, OldIter + Step*Batch, NewRun)
       end
   end.
   
  
positive.code: -module(mzbl_loop).
  
  -compile({inline, [msnow/0, eval_rates/7, time_of_next_iteration/3, batch_size/4, k_times/5, k_times_iter/8, k_times_spawn/8]}).
  
  -export([eval/5]).
  
  
negative.code:                             false ->
                                  case Iterator of
                                      undefined -> k_times(Body, WorkerProvider, Env, State2, Batch);
                                      _ -> k_times_iter(Body, WorkerProvider, Iterator, Env, Step, State2, Done + erlang:trunc(Shift), OldIter + erlang:trunc(Shift), Batch)
                                  end;
                              true ->
                                  k_times_spawn(Body, WorkerProvider, Iterator, Env, Step, State2, Done + erlang:trunc(Shift), OldIter + erlang:trunc(Shift), Batch)
                          end,
                      BatchEnd = msnow(),
                      NewBatch = case IsFirst of
  