anchor.diff:  -ifdef(with_export_type_support).
   -export_type([method/0, request/0]).
   -endif.
  -
  --define(REP_FACTOR, 4).
   
   -type method()         :: bloom | merkle_tree | art | iblt | undefined.
   -type stage()          :: req_shared_interval | res_shared_interval | build_struct | reconciliation.
  
positive.code:                                              intervals:union(Acc, intervals:intersection(MyI, mapInterval(Intersection, I))) 
                                       end, 
                                       intervals:intersection(MyI, Intersection), 
                                       lists:seq(2, ?REP_FACTOR)),
              ?TRACE("REQ SHARED INTERVAL 2~nMyI=~p - SrcI=~p ~n Intersec=~p - MyIntersec=~p", [MyI, SrcI, Intersection, MyIntersec]),
              send_chunk_req(DhtPid, self(), MyIntersec, Intersection, get_max_items(Method))
      end,
  
negative.code:                 end, intervals:empty(), IQ).
  
  p_mapInterval(I, Q) ->
      RepFactor = rep_factor(),
      {LBr, LKey, RKey, RBr} = intervals:get_bounds(I),
      LQ = get_key_quadrant(LKey),
      QDiff = (RepFactor - LQ + Q) rem RepFactor,
      intervals:new(LBr, 
                    add_quadrants_to_key(LKey, QDiff, RepFactor), 
                    add_quadrants_to_key(RKey, QDiff, RepFactor), 
                    RBr).
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  