How to avoid warping and checking