math
segment tree
