Influence of scanning length and energy input on residual stress reduction in metal additive manufacturing: Numerical and experimental studies