pri in and out degree clustering