add: segment tree