refactored and chenged exntends to match splittablestore splittingmechanism