Added a different method for kcores but still not scalable :/