anchor.diff:          false ->
               case Msg of
                   {bulk_distribute, Proc, N, Env, Data} ->
  -                    SuccData = get_range_data(Data, SuccIntI),
  -                    ?TRACE("~p bulk_distribute: sending to succ ~p on interval ~p
  -                           I: ~p
  -                           Msg: ~p",
  -                           [self(), node:pidX(nodelist:succ(Neighbors)),
  -                            SuccIntI, I, {bulkowner, deliver, Id, SuccIntI,
  -                              {bulk_distribute, Proc, N, Env, SuccData}, Parents}]),
  +                    {SuccData, _Rest} = lists:partition(
  +                            fun(Entry) ->
  +                                intervals:in(?RT:hash_key(element(1, Entry)),
  +                                            SuccIntI)
  +                            end, Data),
                       comm:send(node:pidX(nodelist:succ(Neighbors)),
                                 {bulkowner, deliver, Id, SuccIntI,
                                 {bulk_distribute, Proc, N, Env, SuccData}, Parents});
  
positive.code: -author('schuett@zib.de').
  -vsn('$Id$').
  
  -define(TRACE(X, Y), io:format(X, Y)).
  
  -include("scalaris.hrl").
  
  % public API:
  -export([issue_bulk_owner/3, issue_send_reply/4,
           issue_bulk_distribute/5, issue_bulk_distribute/6,
           send_reply/5, send_reply_failed/6]).
  
  % only use inside the dht_node process:
  
negative.code:             false ->
                  case Msg of
                      {bulk_distribute, Proc, N, Env, Data} ->
                          {RangeData, _Rest} = lists:partition(
                                  fun(Entry) ->
                                      intervals:in(?RT:hash_key(element(1, Entry)),
                                                  Range)
                                  end, Data),
                          comm:send(node:pidX(Head),
                                {bulkowner, Id, Range,
                                {bulk_distribute, Proc, N, Env, RangeData}, Parents});
  