Add a size-limited treap, useful for things like reservoir sampling.