change segtree