filter out scattered individual points; add start of clustering algorithm based
on connected components algorithm; tinkering with k-means clusters