finished the social graph construction