anchor.diff:  
   on({resolve_req, OtherDBChunk, MyDiffIdx, SigSize, VSize, DestReconPid} = _Msg,
      State = #rr_recon_state{stage = resolve,           initiator = false,
  -                           method = shash,            kv_list = KVList}) ->
  +                           method = shash,            k_list = KList}) ->
       ?TRACE1(_Msg, State),
   
       DBChunkTree =
           decompress_kv_list(OtherDBChunk, [], SigSize, VSize),
  -    IdxSize = bits_for_number(length(KVList)),
  -    MyDiffKeys = [Key || Key <- decompress_k_list(MyDiffIdx, KVList, IdxSize, 0),
  +    IdxSize = bits_for_number(length(KList)),
  +    MyDiffKeys = [Key || Key <- decompress_k_list(MyDiffIdx, KList, IdxSize, 0),
                                   not gb_trees:is_defined(compress_key(Key, SigSize),
                                                           DBChunkTree)],
   
  
positive.code:    State = #rr_recon_state{stage = resolve,           initiator = Initiator,
                             method = RMethod,
                             dest_rr_pid = DestRRPid,   ownerPid = OwnerL,
                             kv_list = KVList,          stats = Stats})
    when (RMethod =:= trivial andalso not Initiator) orelse
             ((RMethod =:= bloom orelse RMethod =:= shash) andalso Initiator) ->
      ?TRACE1(_Msg, State),
      IdxSize = bits_for_number(length(KVList)),
      NewStats =
          case decompress_k_list(BinReqIdxPos, KVList, IdxSize, 0) of
              [] -> Stats;
              ReqKeys ->
                  SID = rr_recon_stats:get(session_id, Stats),
  
negative.code:                                                   kv_list = NewKVList},
                    shutdown(sync_finished, NewState);
                BFCount =:= 0 ->
                    shutdown(sync_finished, State#rr_recon_state{kv_list = NewKVList});
                true -> % BFCount > 0
                    % must send resolve_req message for the non-initiator to shut down
                    send(DestReconPid, {resolve_req, <<>>, 0, 0, comm:this()}),
  