anchor.diff:  
   -spec handle_shuffle(state_active(),
           {RemoteNode :: comm:mypid() | ignore, RemoteEpoch :: non_neg_integer(),
  -         RemoteCentroids :: dc_centroids:centroids()})
  -     -> state_active().
  -    handle_shuffle({Centroids, Epoch, ResetTriggerState, ClusterTriggerState}, {RemoteNode, RemoteEpoch, RemoteCentroids}) ->
  +         RemoteCentroids :: dc_centroids:centroids()}) -> state_active().
  +handle_shuffle(#state_active{
  +        centroids=Centroids
  +        , local_epoch=Epoch
  +        , reset_trigger_state=ResetTriggerState
  +        , cluster_trigger_state=ClusterTriggerState
  +        , radius=Radius
  +    } = State, {RemoteNode, RemoteEpoch, RemoteCentroids}) ->
       % Check the epoch to swallow old messages and delete old state:
       %
       % - if the local epoch is less than the remote epoch, we didn't see a certain wave yet and
  
positive.code:     ;
  
  % return my clusters
  on_active({query_clustering, Pid}, {Centroids, _Epoch, _ResetTriggerState, _ClusterTriggerState} = State) ->
      comm:send(Pid, {query_clustering_response, Centroids}),
      State
      ;
  
  on_active({query_epoch, Pid},
      {_Centroids, Epoch,_ResetTriggerState, _ClusterTriggerState} = State) ->
      comm:send(Pid, {query_epoch_response, Epoch}),
      State
      .
  
  
negative.code: init({ResetTrigger, ClusterTrigger}) ->
      ResetTriggerState = trigger:init(ResetTrigger, fun get_clustering_reset_interval/0, reset_clustering),
      ClusterTriggerState = trigger:init(ClusterTrigger, fun get_clustering_interval/0, start_clustering_shuffle),
      Radius = case config:read(dc_clustering_radius) of
          failed -> exit(dc_clustering_radius_not_set);
          R when R > 0 -> R;
          _Else -> exit(dc_clustering_radius_invalid)
      end,
      #state_inactive{
          queued_messages = msg_queue:new()
          , reset_trigger_state = ResetTriggerState
          , cluster_trigger_state = ClusterTriggerState
          , radius=Radius
      }
      .
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % Message Loop
  