anchor.diff:                           fun(I) ->
                                    {lists:nth(I, FieldNames), erlang:element(I + 1, Stats)}
                            end),    
  -    [erlang:element(1, Stats), lists:flatten(lists:reverse(Res))].
  +    [erlang:element(1, Stats), lists:flatten(Res)].
   
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   % STARTUP
  
positive.code:          operation      = nil        									:: nil | operation(),
           stats          = #resolve_stats{}                              :: stats(),
           feedback       = {nil, []}                                     :: feedback(),           
           send_stats     = nil                                           :: nil | comm:mypid() 
           }).
  -type state() :: #rr_resolve_state{}.
  
  
negative.code:        #rr_resolve_state{ operation = {key_upd, KvvList},
                            dhtNodePid = DhtPid,
                            stats = Stats
                            }) ->
      MyPid = comm:this(),
      ?TRACE("Start KEY_UPD", []),
      {T, ToUpdate} = util:tc(fun() -> lists:foldl(
                                         fun({Key, Value, Vers}, Acc) ->
                                                 UpdKeys = [X || X <- ?RT:get_replica_keys(Key), intervals:in(X, MyI)],
                                                 _ = [comm:send_local(DhtPid, {update_key_entry, MyPid, UKey, Value, Vers}) || UKey <- UpdKeys],
                                                 Acc + length(UpdKeys)
                                         end, 0, KvvList) 
                              end),
      ?TRACE("KEY_UPD REQ SEND in ~p", [T]),
      
  %%     ToUpdate = 
  %%         lists:foldl(
  %%           fun({Key, Value, Vers}, Acc) ->
  %%                   UpdKeys = [X || X <- ?RT:get_replica_keys(Key), intervals:in(X, MyI)],
  %%                   _ = [comm:send_local(DhtPid, {update_key_entry, MyPid, UKey, Value, Vers}) || UKey <- UpdKeys],
  %%                   Acc + length(UpdKeys)
  %%           end, 0, KvvList),
      %kill is done by update_key_entry_ack
      ?TRACE("GET INTERVAL - KEY UPD - MYI=~p;KVVListLen=~p ; ToUpdate=~p", [MyI, length(KvvList), ToUpdate]),
      ToUpdate =:= 0 andalso
  