updated rho algorithm