runtime check for kmeans signature