Lateral homogeneity variation in metal plasma immersion ion implantation and deposition