anchor.diff:                     node:id(Node),            %   than succ
                      nodelist:succ_range(Neighbors))) of
           true ->
  -            NewRT = gb_trees:enter(Index, Node, RT),
               NextIndex = next_index(Index),
               NextKey = calculateKey(MyId, NextIndex),
               CurrentKey = calculateKey(MyId, Index),
  
positive.code: %%      Provided for convenience (see check/5).
  -spec check(OldRT::rt(), NewRT::rt(), Neighbors::nodelist:neighborhood(),
              ReportToFD::boolean()) -> ok.
  check(OldRT, NewRT, Neighbors, ReportToFD) ->
      check(OldRT, NewRT, Neighbors, Neighbors, ReportToFD).
  
  %% @doc Notifies the dht_node if the (external) routing table changed.
  %%      Also updates the failure detector if ReportToFD is set.
  
negative.code: handle_custom_message({rt_get_node_response, Index, Node}, State) ->
      OldRT = rt_loop:get_rt(State),
      Neighbors = rt_loop:get_neighb(State),
      case stabilize(Neighbors, OldRT, Index, Node) of
          {NewRT, true} ->
              check_do_update(OldRT, NewRT, rt_loop:get_neighb(State), true);
          {NewRT, false} -> ok
      end,
      rt_loop:set_rt(State, NewRT);
  handle_custom_message(_Message, _State) ->
      unknown_event.
  