private void extendSizeAndCapacityRecord(int record, int size, int capacity) throws IOException {
    int extendedRecord = doCreateNewRecord();
    myStorage.putInt(getOffset(extendedRecord, SIZE_OFFSET_IN_INDIRECT_RECORD), size);
    myStorage.putInt(getOffset(extendedRecord, CAPACITY_OFFSET_IN_INDIRECT_RECORD), capacity);
    myStorage.putInt(getOffset(record, SIZE_AND_CAPACITY_OFFSET), -extendedRecord);
  }
private void extendSizeAndCapacityRecord(int record, int size, int capacity)