anchor.diff:      _ = lists:foldl(
             fun(Node, ActKVV) ->
                     comm:send(Node, {get_state, comm:this(), my_range}),
  -                  % note: receive wrapped in anonymous functions to allow
  -                  %       ?SCALARIS_RECV in multiple receive statements
  -                  NRange = fun() ->
  -                                   trace_mpath:thread_yield(),
  -                                   receive
  -                               ?SCALARIS_RECV(
  -                                   {get_state_response, Range}, %% ->
  -                                   Range
  -                                 )
  -                           end end(),
  +                  trace_mpath:thread_yield(),
  +                  receive ?SCALARIS_RECV({get_state_response, NRange}, ok) end,
                     {NKVV, RestKVV} = lists:partition(
                                         fun(Entry) ->
                                                 intervals:in(db_entry:get_key(Entry), NRange)
  
positive.code:     ?DBG_ASSERT(Distribution =:= feeder_fix_rangen(Distribution, ItemCount)),
      OutputType = proplists:get_value(output, Options, list_key),
      case Distribution of
          random -> gen_random([{Interval, ItemCount}], [], OutputType);
          uniform -> uniform_key_list([{Interval, ItemCount}], [], OutputType);
          {non_uniform, RanGen} -> non_uniform_key_list(Interval, ItemCount, RanGen, [], OutputType)
      end.
  
negative.code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
  -spec gen_random
          (Interval::intervals:continuous_interval(), ToAdd::non_neg_integer(),
           OutputType::list_key) -> [result_k()];
          (Interval::intervals:continuous_interval(), ToAdd::non_neg_integer(),
           OutputType::list_keytpl) -> [result_ktpl()];
          (Interval::intervals:continuous_interval(), ToAdd::non_neg_integer(),
           OutputType::list_key_val) -> [result_kv()].
  gen_random(I, Add, OutputType) ->
      SimpleI = intervals:get_bounds(I),
      ToAdd0 = gb_sets:from_list(?RT:get_random_in_interval(SimpleI, Add)),
      gen_random_gb_sets(SimpleI, Add - gb_sets:size(ToAdd0), OutputType, ToAdd0, 1).
  
  -spec gen_random_gb_sets
          (Interval::intervals:simple_interval2(), ToAdd::non_neg_integer(),
  