Fine grained analysis of K- mean clustering and where we are using it