Debug SegmentTree