A Tight VC-Dimension Analysis of Clustering Coresets with Applications