Segment tree and FenwickTree were added