Corrected root computation.