Patent ID: 8361564

Claim:
A method for implanting a dopant in a substrate, comprising: forming a patterned photoresist mask over the substrate, wherein the patterned photoresist mask has patterned photoresist mask features; depositing a protective layer on the patterned photoresist mask by performing a cyclical deposition, wherein each cycle, comprises: a depositing phase for depositing a deposition layer over surfaces of the patterned mask of photoresist material; and a profile shaping phase for providing vertical sidewalls; implanting a dopant into the substrate using an ion beam; and removing the protective layer and photoresist mask; wherein the cyclical deposition of the protective layer is performed for at least two cycles; and wherein the profile shaping phase, comprises: flowing a profile shaping gas; forming the profile shaping gas into a plasma; and stopping the flow of the profile shaping gas.