segment_tree, splay