fix bug in betweenness finish Girvan-Newman algorithm