Process latitude enhancement for 3D structure formation in e-beam lithography