anchor.diff:  
   -export([start_link/1, init/1, on/2, check_config/0]).
   
  -%-define(TRACE(X,Y), io:format(X,Y)).
  --define(TRACE(X,Y), ok).
  +-define(TRACE(X,Y), io:format("[~p] " ++ X ++ "~n", [self()] ++ Y)).
  +%-define(TRACE(X,Y), ok).
   
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   % constants
  
positive.code:                          ok %TODO
                   end,
      comm:send_local(SourcePid, {get_sync_struct_response, SyncStruct}),
      ok.
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % BloomFilter building
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
  %% @doc Build two bloom filter, one over all keys (BF1), 
  %%      one over all keys concatenated with their version (BF2)
  -spec build_bloom(db_chunk()) -> sync_struct().
  build_bloom({Interval, _DB}) ->
      %create bloom filter
      Fpr = 0.001,           %TODO move to config?
      ElementNum = 10000,    %TODO set to node db item cout + 5%?
      HFCount = bloom:calc_HF_numEx(ElementNum, Fpr),
      Hfs = ?REP_HFS:new(HFCount),
      BF1 = ?REP_BLOOM:new(ElementNum, Fpr, Hfs),
      BF2 = ?REP_BLOOM:new(ElementNum, Fpr, Hfs),    
      %fill bloom filter
      %TODO
  	%lists:min(?RT:get_replica_keys(Key)) %map keys to their smallest associated key
  	{Interval, comm:this(), BF1, BF2}.
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % Startup
  
negative.code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % Web Debug Message handling
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  on({web_debug_info, Requestor}, 
     {SyncMethod, _TriggerState} = State) ->
      KeyValueList =
  