Residual stresses, dislocation density and recrystallization process