When the number of clusters is larger than the number of instances, a `division by zero` exception is raised. Handle this error gracefully.