anchor.diff:      %% Start a new keyspace...
       BytesWritten1 = write_key(W#writer.data_file, Index, Field, Term),
       BytesWritten2 = write_seg_value(W#writer.data_file, Value, Props, TS),
  -    W2 = W1#writer { pos = W#writer.pos + BytesWritten1 + BytesWritten2,
  +    W2 = W1#writer { last_offset = W1#writer.pos + BytesWritten1,
  +                     offsets = [(W1#writer.pos-W1#writer.last_offset)|W1#writer.offsets],
  +                     pos = W1#writer.pos + BytesWritten1 + BytesWritten2,
                        last_index = Index,
                        last_field = Field,
                        last_term = Term,
  
positive.code:         '$end_of_table' -> 
              0;
          OffsetKey ->
              [{_, _, Bloom}] = ets:lookup(Segment#segment.offsets_table, OffsetKey),
              case mi_bloom:is_element(Key, Bloom) of
                  true  -> 1;
                  false -> 0
  
negative.code: 
  -record(writer, { data_file,
                    offsets_table,
                    start_pos = 0,
                    pos = 0,
                    last_offset = 0,
                    offsets = [],
                    count = 0,
                    last_index,
                    last_field,
  