[Refactor] the OSRBTree.

So that now it can use base's Minimum and Maximum. This is so called
inheritance.