new slice for the kmeans algo and includes the gif