Data Structures: Segment Tree