working on betweenness_wei implementation