added average neighbor degree