anchor.diff:              #merkle_params{p1e = P1ETotal, num_trees = NumTrees,
                              ni_item_count = OtherItemsCount} = Params,
               MyItemCount = lists:max([0 | [merkle_tree:get_item_count(Node) || Node <- MySyncStruct]]),
  -%%             log:pal("merkle [ ~p ] Inner/Leaf/Items: ~p, EmptyLeaves: ~B",
  -%%                     [self(), merkle_tree:size_detail(MySyncStruct),
  -%%                      length([ok || L <- merkle_tree:get_leaves(MySyncStruct),
  -%%                                    merkle_tree:get_item_count(L) =:= 0])]),
  +            ?MERKLE_DEBUG("merkle (I) - Inner/Leaf/Items: ~p, EmptyLeaves: ~B",
  +                    [merkle_tree:size_detail(MySyncStruct),
  +                     length([ok || L <- merkle_tree:get_leaves(MySyncStruct),
  +                                   merkle_tree:get_item_count(L) =:= 0])]),
               P1ETotal2 = calc_n_subparts_p1e(2, P1ETotal),
               P1ETotal3 = calc_n_subparts_p1e(NumTrees, P1ETotal2),
  -%%             log:pal("merkle [ ~p ] CurrentNodes: ~B", [self(), length(MySyncStruct)]),
  +            ?MERKLE_DEBUG("merkle (I) - CurrentNodes: ~B", [length(MySyncStruct)]),
   
               {P1E_I, _P1E_L, NextSigSizeI, NextSigSizeL} =
                   merkle_next_signature_sizes(Params, P1ETotal3, MyItemCount,
  
positive.code:                                 MyLastMaxItemsCount, OtherLastMaxItemsCount,
                                  MerkleSync, Params, Stats, [], [], [], 0, 0),
      NewState = State#rr_recon_state{struct = RTree, merkle_sync = MerkleSyncNew},
  %%     log:pal("merkle [ ~p ] CurrentNodes: ~B", [self(), length(RTree)]),
  
      if RTree =:= [] andalso MerkleSyncNew =:= {[], []} ->
             shutdown(sync_finished,
  
negative.code:                                     misc = [{p1e, P1E_I},
                                              {all_leaf_p1e, P1EAllLeaves},
                                              {icount, MyMaxItemsCount}]},
      ?MERKLE_DEBUG("merkle (NI) - CurrentNodes: ~B", [length(RTree)]),
  
      if RTree =:= [] andalso MerkleSyncNew =:= {[], []} ->
             shutdown(sync_finished, NewState#rr_recon_state{stats = NStats});
  