A study of MgF2 thin film growth in the atomic layer deposition process by multi-scale simulations