anchor.diff:  -export([fill_ring_feeder/3]).
   -export([feeder_fix_rangen/2]).
   
  --define(ReplicationFactor, 4).
   -define(VersionMin, 1).
   -define(VersionMax, 1048576). % 1024*1024
   -define(VersionDiffMax, 512).
  
positive.code:                     end,
                      {[], FCount, 0}, FCells),
      Insert = length(DB),
      DBSize = KeyCount * ?ReplicationFactor,
      {DB, {DBSize, Insert, DBSize - Insert, Out}};
  p_gen_kvv(uniform, Keys, KeyCount, FType, FDest, FCount) ->
      ?DBG_ASSERT(length(Keys) =:= length(lists:usort(Keys))), % unique keys
  
negative.code: -spec fill_random(DBSize::pos_integer(), [db_parameter()]) -> db_status().
  fill_random(DBSize, Params) ->
      Distr = proplists:get_value(distribution, Params, uniform),
      I = hd(intervals:split(intervals:all(), config:read(replication_factor))),
      {_LBr, LKey, RKey, _RBr} = intervals:get_bounds(I),
      I2 = intervals:new('(', LKey, RKey, ')'),
      Keys = get_db(I2, DBSize, Distr),
  