Create Segment Tree with Treap