1. A method of generating masks for printing a pattern comprising a plurality of features having varying critical dimensions, said method comprising the steps of: obtaining data representing said pattern; defining a plurality of distinct zones based on the critical dimensions of said plurality of features; categorizing each of said features into one of said plurality of distinct zones; and modifying said mask pattern for each feature categorized into a predefined distinct zone of said plurality of distinct zones.