use sparse data for clustering