1. A physical mask comprising: at least one defect being modified based on a first average critical dimension deviation and a first maximum critical dimension deviation provided from analyzing a simulated wafer image of the physical mask and a simulated wafer image of a reference mask, the reference mask corresponding to a defect-free physical mask.