anchor.diff:  
   %%--------------------------------------------------------------------
   %% @doc
  +%% Gets information about number of nodes connected with key.
  +%% @end
  +%%--------------------------------------------------------------------
  +-spec get_key_connected_nodes() -> pos_integer().
  +get_key_connected_nodes() ->
  +    ctool:get_env(key_connected_nodes, 1).
  +
  +%%--------------------------------------------------------------------
  +%% @doc
   %% Get node that is responsible for the data labeled with given term.
   %% Throws error if node is broken.
   %% @end
  
positive.code:     {Index, _} = lists:nth(N, chash:nodes(CHash)),
      Index.
  
  -spec filter_nodes(ResponsibleNodes :: [node() | {integer(), node()}], AllBrokenNodes :: [node()]) ->
      {GoodNodes :: [node()], BrokenNodes :: [node()]}.
  filter_nodes([], _BrokenNodes) ->
      {[], []};
  filter_nodes([{_, Node} | Nodes], BrokenNodes) ->
      filter_nodes(Node, Nodes, BrokenNodes) ;
  filter_nodes([Node | Nodes], BrokenNodes) ->
      filter_nodes(Node, Nodes, BrokenNodes).
  
  -spec filter_nodes(CheckedNode :: node(), ResponsibleNodes :: [node() | {integer(), node()}],
      AllBrokenNodes :: [node()]) -> {GoodNodes :: [node()], BrokenNodes :: [node()]}.
  filter_nodes(Node, Nodes, BrokenNodes) ->
      {AliveNodesAns, BrokenNodesAns} = filter_nodes(Nodes, BrokenNodes),
      case lists:member(Node, BrokenNodes) of
          true ->
              {AliveNodesAns, [Node | BrokenNodesAns]};
          _ ->
              {[Node | AliveNodesAns], BrokenNodesAns}
      end.
negative.code:     type :: single_node | multi_node | broken,
      chash :: chash:chash() | node(),
      broken_nodes = [] :: [node()],
      key_connected_nodes = 1 :: pos_integer(),
      nodes_num :: non_neg_integer()
  }).
  
  -type ring() :: #ring{}.
  
  %% API
  -export([init/1, cleanup/0, get_chash_ring/0, set_chash_ring/1,
      set_broken_node/1, set_fixed_node/1,
      set_key_connected_nodes/1, get_key_connected_nodes/0,
      get_node/1, get_nodes/2, get_all_nodes/0]).
  
  %%%===================================================================
  