anchor.diff:                   erlang:term_to_binary(DBChunkBin,
                                          [{minor_version, 1}, {compressed, 2}]))]),
       {DBChunkBin, SigSize, VSize}.
  +
  +%% @doc Aligns the two sizes so that their sum is a multiple of 8 in order to
  +%%      achieve a better compression in binaries.
  +-spec align_bitsize(SigSize, VSize) -> {SigSize, VSize}
  +    when is_subtype(SigSize, pos_integer()),
  +         is_subtype(VSize, pos_integer()).
  +align_bitsize(SigSize0, VSize0) ->
  +    FullKVSize0 = SigSize0 + VSize0,
  +    FullKVSize = bloom:resize(FullKVSize0, 8),
  +    VSize = VSize0 + ((FullKVSize - FullKVSize0) div 2),
  +    SigSize = FullKVSize - VSize,
  +    {SigSize, VSize}.
   
   -spec build_recon_struct(method(), OldSyncStruct::sync_struct() | {},
                            DestI::intervals:non_empty_interval(), db_chunk_kv(),
  
positive.code:     merkle_resolve_leaves_init(TL, HashesT, DestRRPid, DestRCPid, Stats, OwnerL,
                                 NInterval, ToSend, ToReq, ToResolve, ResolveNonEmpty,
                                 NSyncItemCount, NLeafNAcc);
  merkle_resolve_leaves_init([{leaf, leaf, SigSize, LeafNode} | TL],
                             <<BSize:8/integer-unit:1, HashesT/bitstring>>,
                             DestRRPid, DestRCPid, Stats, OwnerL, Interval,
                             ToSend, ToReq, ToResolve, ResolveNonEmpty, SyncItemCount, LeafNAcc) ->
      ?ASSERT(merkle_tree:is_leaf(_LeafNode)),
      VSize = get_min_version_bits(),
      OBucketBinSize = BSize * (SigSize + VSize),
      <<OBucketBin:OBucketBinSize/bitstring, NHashes/bitstring>> = HashesT,
      OBucketTree = decompress_kv_list(OBucketBin, gb_trees:empty(), SigSize, VSize),
  
negative.code:                         DestRRPid, Stats, OwnerL, SendKeys) ->
      merkle_resolve_req_keys_noninit(TL, BinKeyList, DestRRPid, Stats, OwnerL,
                                      SendKeys);
  merkle_resolve_req_keys_noninit([{leaf, leaf, SigSize0, LeafNode} | TL],
                          [[_|_] = ReqKeys | BinKeyList],
                          DestRRPid, Stats, OwnerL, SendKeys) ->
      ReqSet = gb_sets:from_list(ReqKeys),
      {SigSize, _VSize} = align_bitsize(SigSize0, get_min_version_bits()),
      SendKeys1 = [Key || {Key, _Version} <- merkle_tree:get_bucket(LeafNode),
                          gb_sets:is_member(compress_key(Key, SigSize),
                                            ReqSet)] ++ SendKeys,
  