keep k_core in weake_comps