Create SegmentTree