1. A method of arranging mask patterns, the method comprising: separately calculating contributions of an assist feature to image intensity at a first focus position and at a second focus position; and placing the assist feature at a position where the contribution of the assist feature to the image intensity is greater at the second position than at the first position