finish the medianOfMediansQuickSelect