Distortion control in welding by mechanical tensioning