CMOS process review with implications for ion implantation