public K atIndex(int i) {
    if (i < 0 || i >= size) return null ;
    Sector sector = first ;
    while (true) {
      if (i < sectorSize) return (K) sector.array[i] ;
      i -= sectorSize ;
      sector = sector.next ;
    }
  }