Modeling of edge roughness in ion projection lithography