fix bug in pagerank for vertices size