Stars: Tera-Scale Graph Building for Clustering and Graph Learning