Access to variables in Segment Tree changed from

public to private.