Asymptotics of k-mean clustering under non-i.i.d. sampling