IDS effective k-means clustering