Bookcase now uses reservoir sampling to determine line.