Speedup for clustering.
Add example file.