@Override
  public long getAddress(int record) throws IOException {
    int address = myStorage.getInt(getOffset(record, ADDRESS_OFFSET));
    if (address < 0) { // read address from indirect record
      return super.getAddress(-address);
    }
    return address;
  }
@Override
  public long getAddress(int record)