A method for manufacturing a device includes mapping extreme vertical
boundary conditions of a mask layer based on vertical edges of a
deposited first layer and a second layer. The mask layer is deposited
over portions of the second layer based on the mapping step. The exposed
area of the second layer is etched to form a smooth boundary between the
first layer and the second layer. The resist layer is stripped. The
resulting device is an improved PFET device and NFET device with a smooth
boundary between the first and second layers such that a contact can be
formed at the smooth boundary without over etching other areas of the
device.