code: void writeSlot(int position, int w0, int w1, int w2, int w3)
    {
        position *= slotsize;
        int chunkpos = position >> lowbits;
        int slotpos = (position & lowmask);
  
      // Grow if needed
      if (chunkpos > chunks.size() - 1)
        chunks.addElement(new int[chunkalloc]);
      int[] chunk = chunks.elementAt(chunkpos);
      chunk[slotpos] = w0;
      chunk[slotpos + 1] = w1;
      chunk[slotpos + 2] = w2;
      chunk[slotpos + 3] = w3;
    }
docs: Overwrite an entire (4-integer) record at the specified index.
  Mostly used to create record 0, the Document node.
  @param position integer Record number
  @param w0 int
  @param w1 int
  @param w2 int
  @param w3 int