save state
kmeans and min hash progress