anchor.diff:  
       %% Ring convergence
       Fun = fun(AvgType) ->
  -            {OldAvg, OldWeight} = data_get(AvgType, OldRing),
  -            {NewAvg, NewWeight} = data_get(AvgType, NewRing),
  -            OldValue = calc_current_estimate(OldAvg, OldWeight),
  -            NewValue = calc_current_estimate(NewAvg, NewWeight),
  +            OldValue = calc_current_estimate(data_get(AvgType, OldRing)),
  +            NewValue = calc_current_estimate(data_get(AvgType, NewRing)),
               log:log(debug, "[ ~w ] ~w: OldValue: ~w, New Value: ~w",
                   [state_get(instance, State), AvgType, OldValue, NewValue]),
               _HasConverged = calc_change(OldValue, NewValue) < AvgChangeEpsilon
  
positive.code:     LoadModulesConverged =
          [begin
               ?ASSERT(data_get(name, OldLoad) =:= data_get(name, NewLoad)),
               {OldAvg, OldWeight} = data_get(AvgType, OldLoad),
               {NewAvg, NewWeight} = data_get(AvgType, NewLoad),
               OldValue = calc_current_estimate(OldAvg, OldWeight),
               NewValue = calc_current_estimate(NewAvg, NewWeight),
               log:log(debug, "[ ~w ] ~w: OldValue: ~w, New Value: ~w",
                       [state_get(instance, State), AvgType, OldValue, NewValue]),
               _HasConverged = calc_change(OldValue, NewValue) < AvgChangeEpsilon
  
negative.code: %% @doc Calculate the current estimate from the given value and, weight.
  -spec calc_current_estimate(Value::float(), Weight::float()) -> float() | unknown.
  calc_current_estimate(Value, Weight) ->
      try Value / Weight
      catch
          error:badarith -> unknown
      end.
  
  
  %% @doc Calculates the change in percent from the Old value to the New value.
  -spec calc_change(OldValue::float() | unknown, NewValue::float() | unknown) -> float().
  calc_change(unknown, _NewValue) -> 100.0;
  calc_change(_OldValue, unknown) -> 100.0;
  calc_change(Value, Value)       -> 0.0;
  %calc_change(0, _NewValue)       -> 100.0; we only have floats!
  calc_change(0.0, _NewValue)     -> 100.0;
  calc_change(OldValue, NewValue) ->
      ((OldValue + abs(NewValue - OldValue)) * 100.0 / OldValue) - 100.
  
  
  %% @doc Calculates the difference between the key of a node and its
  