anchor.diff:                  {ASyncLeafs, NComp, NSkip, NLSync} =
                       art_get_sync_leaves([merkle_tree:get_root(Tree)], Art,
                                           [], 0, 0, 0),
  -                OwnerR = comm:make_global(OwnerL),
  -                ResolveCalled =
  -                    lists:foldl(
  -                      fun(X, Acc) ->
  -                              Acc + resolve_leaf(X, DestPid, SID, OwnerL, OwnerR)
  -                      end, 0, ASyncLeafs),
  +                ResolveCalled = resolve_leaves(ASyncLeafs, DestPid, SID, OwnerL),
                   rr_recon_stats:inc([{tree_nodesCompared, NComp},
                                       {tree_compareSkipped, NSkip},
                                       {tree_leafsSynced, NLSync},
  
positive.code:                                 {interval_upd_send, LeafInterval, Dest},
                                  Options}),
              2
      end.
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
negative.code:     LeafInterval = merkle_tree:get_interval(Node),
      case merkle_tree:get_item_count(Node) of
          0 ->
              % we know that we don't have data in this range, so we must
              % regenerate it from the other node
              % -> send him this request directly!
              send(Dest, {request_resolve, SID, {interval_upd, LeafInterval, []},
                          [{session_id, SID} | Options]}),
              1;
  