finish sparse clustering