Segment tree with range update.