Add a more concise treap implementation.