A space efficient algorithm for group structure computationSpeeding up Pollard's rho method for computing discrete logarithms