Made OffsetTreeNode an inner class of OffsetTree.