Segment tree [ lazy propagation ]