- preparing for clustering