anchor.diff:  on({get_state_response, MyI}, State =
          #rr_resolve_state{ operation = {key_upd_send, _, KeyList},
                             dhtNodePid = DhtPid }) ->    
  -    FilterKeyList = [K || X <- KeyList, 
  -                          K <- ?RT:get_replica_keys(X), 
  -                          intervals:in(K, MyI)],
  -    UpdI = intervals:from_elements(FilterKeyList),
  -    comm:send_local(DhtPid, {get_entries, self(), 
  -                             fun(X) -> intervals:in(db_entry:get_key(X), UpdI) end,
  +    FKeyList = [K || X <- KeyList, K <- ?RT:get_replica_keys(X), 
  +                     intervals:in(K, MyI)],
  +    KeyTree = gb_sets:from_list(FKeyList),
  +    comm:send_local(DhtPid, {get_entries, self(),
  +                             fun(X) -> gb_sets:is_element(db_entry:get_key(X), KeyTree) end,
                                fun(X) -> {db_entry:get_key(X),
                                           db_entry:get_value(X), 
  -                                        db_entry:get_version(X)} end}),
  +                                        db_entry:get_version(X)} end}),    
       State;
   
   on({get_entries_response, KVVList}, State =
  
positive.code: % debug
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
  %-define(TRACE(X,Y), io:format("~w [~p] " ++ X ++ "~n", [?MODULE, self()] ++ Y)).
  -define(TRACE(X,Y), ok).
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % type definitions
  
negative.code:                          fun(I) ->
                                   {lists:nth(I, FieldNames), erlang:element(I + 1, Stats)}
                           end),    
      [erlang:element(1, Stats), lists:flatten(Res)].
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % STARTUP
  