Split out HRPlusTree utils methods and partitioning into separate objects