updated pollard's rho nonsense