Same thing goes for the name `getSegTree` --- let's just call it `segTree` (and rename whatever currently has that name, if anything).