anchor.diff:  %%      where the version in MyEntries is older than the one in the tree.
   -spec get_full_diff
           (MyEntries::[], MyIOtherKvTree::kv_tree(),
  -         AccFBItems::FBItems, AccReqItems::[?RT:key()],
  +         AccFBItems::FBItems, AccReqItems::[bitstring()],
            SigSize::signature_size(), VSize::signature_size())
  -        -> {FBItems::FBItems, ReqItems::[?RT:key()], MyIOtherKvTree::kv_tree()}
  +        -> {FBItems::FBItems, ReqItems::[bitstring()], MyIOtherKvTree::kv_tree()}
               when is_subtype(FBItems, rr_resolve:kvv_list() | [?RT:key()]);
           (MyEntries::'db_chunk_kvv+'(), MyIOtherKvTree::kv_tree(),
  -         AccFBItems::rr_resolve:kvv_list(), AccReqItems::[?RT:key()],
  +         AccFBItems::rr_resolve:kvv_list(), AccReqItems::[bitstring()],
            SigSize::signature_size(), VSize::signature_size())
  -        -> {FBItems::rr_resolve:kvv_list(), ReqItems::[?RT:key()], MyIOtherKvTree::kv_tree()};
  +        -> {FBItems::rr_resolve:kvv_list(), ReqItems::[bitstring()], MyIOtherKvTree::kv_tree()};
           (MyEntries::'db_chunk_kv+'(), MyIOtherKvTree::kv_tree(),
  -         AccFBItems::[?RT:key()], AccReqItems::[?RT:key()],
  +         AccFBItems::[?RT:key()], AccReqItems::[bitstring()],
            SigSize::signature_size(), VSize::signature_size())
  -        -> {FBItems::[?RT:key()], ReqItems::[?RT:key()], MyIOtherKvTree::kv_tree()}.
  +        -> {FBItems::[?RT:key()], ReqItems::[bitstring()], MyIOtherKvTree::kv_tree()}.
   get_full_diff(MyEntries, MyIOtKvTree, FBItems, ReqItems, SigSize, VSize) ->
       get_full_diff_(MyEntries, MyIOtKvTree, FBItems, ReqItems, SigSize,
                     util:pow(2, VSize)).
  
positive.code:                                   ReqItems, SigSize, VMod);
                 true -> % VersionShort < OtherVersionShort
                     get_full_diff_(Rest, MyIOtKvTree2, FBItems,
                                    [Key | ReqItems], SigSize, VMod)
              end
      end.
  
  
negative.code: %%      and returns them as FBItems. ReqItems contains items in the tree but
  %%      where the version in MyEntries is older than the one in the tree.
  -spec get_part_diff(MyEntries::db_chunk_kv(), MyIOtherKvTree::kv_tree(),
                      AccFBItems::[?RT:key()], AccReqItems::[bitstring()],
                      SigSize::signature_size(), VSize::signature_size())
          -> {FBItems::[?RT:key()], ReqItems::[bitstring()], MyIOtherKvTree::kv_tree()}.
  get_part_diff(MyEntries, MyIOtKvTree, FBItems, ReqItems, SigSize, VSize) ->
      get_part_diff_(MyEntries, MyIOtKvTree, FBItems, ReqItems, SigSize,
                     util:pow(2, VSize)).
  
  %% @doc Helper for get_part_diff/6.
  -spec get_part_diff_(MyEntries::db_chunk_kv(), MyIOtherKvTree::kv_tree(),
                       AccFBItems::[?RT:key()], AccReqItems::[bitstring()],
                       SigSize::signature_size(), VMod::pos_integer())
          -> {FBItems::[?RT:key()], ReqItems::[bitstring()], MyIOtherKvTree::kv_tree()}.
  get_part_diff_([], MyIOtKvTree, FBItems, ReqItems, _SigSize, _VMod) ->
      {FBItems, ReqItems, MyIOtKvTree};
  get_part_diff_([{Key, Version} | Rest], MyIOtKvTree, FBItems, ReqItems, SigSize, VMod) ->
  