change rho[0, v] to rho[v]