add segment tree (range update & point query)