Effect of beam deflection oscillations on the weld geometry