Added Segment tree sum