effects of welding residual stresses and phosphorus