SegmentTree class supports now an initial array as optional argument