anchor.diff:  decode_bm(<<BucketSize:32, Bucket:BucketSize/binary,
               MetricSize:32, Metric:MetricSize/binary>>) ->
       {Bucket, Metric}.
  +
  +-ifdef(TEST).
  +overlap_test() ->
  +    Time = 1497181112,
  +    Count = 1200,
  +    D1 = << <<$1>> || _ <- lists:seq(1, 3608) >>,
  +    D2 = << <<$2>> || _ <- lists:seq(1, 2520) >>,
  +    Data = [{1497181501, D1}, {1497181995, D2}],
  +    {ok, TOut, DOut} = get_overlap(Time, Count, Data),
  +    ?assert(byte_size(DOut) =< Count * ?DATA_SIZE),
  +    ?assert(Time =< TOut),
  +    ok.
  +
  +-endif.
  
positive.code:   when  Time >= CT, CT1 =< Time + Count ->
      %% We fuse then with NULLs and continue
      %% missing bits
      Missing = (CT1 - (CT + byte_size(CD))) * 8,
      Data1 = <<CD/binary, 0:Missing, CD1/binary>>,
      get_overlap(Time, Count, [{CT, Data1} | R]);
  get_overlap(Time, Count, [{CT, CD} | _R]) ->
      %% If Time < CT we skip 0, if Time > CT our
  
negative.code: -include_lib("riak_core/include/riak_core_vnode.hrl").
  -include_lib("mmath/include/mmath.hrl").
  
  -ifdef(TEST).
  -include_lib("eunit/include/eunit.hrl").
  -endif.
  
  -export([start_vnode/1,
           init/1,
  