Dealing with Distortion in Packaging