Fix barabasi generation