Power-law distribution edge weight generator added