split out KMeansSeedsRex for testing