fix average shortest path length