Monte Carlo Study of Magnetic Nanostructures During Growth