anchor.diff:  make_state( Options ) ->
       {A,B,C} = erlang:now(), random:seed(A,B,C),
       MaxReducs = proplists:get_value( max_reduc, Options, ?MAX_REDUCS ),
  +    MaxBatch = proplists:get_value( max_batch, Options, ?BATCH_SIZE_MAX ),
  +    BatchReplay = proplists:get_value( batch_replay, Options, ?BATCH_REPLAY ),
       {ok, QueueID} = erlam_private_queue:start_link(),
       case proplists:get_value( shared_queue, Options, false ) of
           true -> % We chose to use a personal, but shared queue:
               TickFun = fun tick_shared_queue/2,
               {ok, #state{tick_fun=TickFun,
  -                        procs=QueueID, 
  +                        procs=QueueID,
  +                        max_batch=MaxBatch,
  +                        batch_replay=BatchReplay, 
                           max_reduc=MaxReducs}};
           false -> % We chose to use theif process emulation:
               TickFun = fun tick_interrupt_steal/2,
               {ok, #state{tick_fun=TickFun,
                           procs=QueueID,
  +                        max_batch=MaxBatch,
  +                        batch_replay=BatchReplay,
                           max_reduc=MaxReducs}}
       end.
   
  
positive.code:             end,
      %% Then decide whether we are at our max loading dock size.
      {NewBatch,NewRounds} = 
              case queue:len( Batch ) > ?BATCH_SIZE_MAX of
                  true ->
                      erlam_private_queue:push(Batch,State#state.procs),
                      {queue:new(), 2};
                  false -> {Batch, Rounds+1}
              end,
      %% Finally update our state based on our decisions.
  
negative.code: % number of unique processes a channel sees could be the max batch size).
  -define(BATCH_SIZE_MAX, 20). 
  
  % It may be useful to run through the batch multiple times before asking for a
  % new one. The batch replay constant multiplies with the number of processes
  % currently in the queue to produce the number of 'rounds' to run before giving
  % up the batch.
  -define(BATCH_REPLAY, 1).
  
  %% Process inspection operations:
  -include("process.hrl").
  
  