compare in & out degree