Monte Carlo simulation of two-dimensional implanted dopant distributions at mask edges