LED illumination to avoid second distortion of the workpiece