c++: add interval_tree_search