+A model describing the formation of nanometric, selforganized, regularly arranged, amorphous $SiC_x$ inclusions was introduced in \cite{5}. Figure \ref{model} shows the evolution into ordered lamellae with increasing dose.
+
+%\begin{figure}[!h]
+%\begin{center}
+%\includegraphics[width=13cm]{model1_.eps}
+%\caption{Rough model explaining the selforganization of amorphous $SiC_x$ precipitates and the evolution into ordered lamellae with increasing dose} \label{1}
+%\end{center}
+%\end{figure}
+
+As a result of supersaturation of carbon atoms in silicon at high concentrations there is a nucleation of spherical $SiC_x$ precipitates. Carbon implantations at much higher implantation temperatures usually lead to the precipitation of cubic $SiC$ ($3C-SiC$, $a=0.436 \, nm$). The lattice misfit of almost $20\%$ of $3C-SiC$ causes a large interfacial energy with the crystalline $Si$ matrix \cite{6}. This energy could be reduced if one of the phases exists in the amorphous state. Energy filtered XTEM studies in \cite{4} have revealed that the amorphous phase is more carbon-rich than the crystalline surrounding. In addition, annealing experiments have shown that the amorphous phase is stable against crystallization at temperatures far above the recrystallization temperatures of amorphous $Si$. Prolonged annealing at $900 \, ^{\circ} \mathrm{C}$ turns the lamellae into ordered chains of amrphous and crystalline ($3C-SiC$) nanoprecipitates \cite{5}, demonstrating again the carbon-rich nature of amorphous inclusions. Since at the implantation conditions chosen, pure $a-Si$ would recrystallize by ion beam induced crystallization \cite{7}, it is understandable that it is the carbon-rich side of the two phases which occurs in the amorphous state in the present phase separation process.
+
+Stoichiometric $SiC$ has a smaller atomic density than $c-Si$. A reduced density is also assumed for substoichiometric $a-SiC_x$. Hence the amorphous $SiC_x$ tends to expand, and as a result compressive stress is applied on the $Si$ host lattice. As the process occurs near the target surface, stress is relaxing in vertical direction and there is mainly lateral stress remaining. Thus volumes between amorphous inclusions will more likely turn into an amorphous phase, as the stress hampers the rearrangement of atoms on regular lattice sites. In contrast $a-Si$ volumes located in a crystalline neighbourhood will recrystallize in all probability. Carbon is assumed to diffuse from the crystalline to the amorphous volumes in order to reduce the supersaturation of carbon in the crystalline interstices. As a consequence the amorphous volumes accumulate carbon.
+
+\newpage
+
+\section{Simulation}
+Before discussing the implementation some assumptions and approximations have to be made. Figure \ref{trim} shows the stopping powers and carbon concentration profile calculated by TRIM \cite{8}. The depth region we are interested in is between $0-300 \, nm$ (furtheron called simulation window), the region between the target surface and the beginning of the continuous amorphous $SiC_x$ layer at the implantation conditions of Figure \ref{xtem}. The nuclear stopping power and the implantation profile can be approximated by a linear function of depth within the simulation window.
+
+The target is devided into $64 \times 64 \times 100$ cells with a side length of $3 \, nmm$. Ech of it has a state (crystalline/amorphous) and keeps the local carbon concentration. The cell is addressed by a position vector $r^{\to}=(x,y,z)$, where $x$, $y$, $z$ are integers.
+
+The probability of amorphization is assumed to be proportional to the nuclear stopping power. A local probability of amorphization at any point in the target is composed of three contributions, the ballistic amorphization, a carbon-induced and a stress-induced amorphization. The ballistic amorphization is proportional to the nuclear stopping power, as mentioned before. The carbon-induced amorphization is a linear function of the local carbon concentration. The stress-induced amorphization is proportional to the compressive stress originating from the amorphous volumes in the vicinity, the stress amplitude decreasing with the square of distance $d=|r^{\to}-r^{\to}|$. Thus the probability of a crystalline volume getting amorphous can be calculated as
+\[
+ p_{c \rightarrow a}(r^{\to}) = p_{b} + p_{c} \times c_{carbon}(r^{\to}) + \sum_{amorphous \, neighbours} \frac{p_{s} \times c_{carbon}(r^{\to})}{d^2}
+\]
+with $p_{b}$, $p_{c}$ and $p_{s}$ being simulation parameters to weight the three different mechanisms of amorphization. The probability $p_{a \rightarrow c}$ of an amorphous volume to turn crystalline should behave contrary to $p_{c \rightarrow a}$ and is thus assumed as $p_{a \rightarrow c} = 1 - p_{c \rightarrow a}$.
+
+The simulation algorithm consists of three parts, the amorphization/recrystallization process, the carbon-incorporation and finally the carbon diffusion.
+
+For the amorphization/recrystallization process, random coordinates are computed to specify the volume which is hit by an implanted carbon ion. The two random numbers corresponding to the $x$ and $y$ coordinates are generated with a uniform probability distribution, $p(x)dx=dx \textrm{, } p(y)dy=dy$. The random number corresponding to the $z$ coordinate is distributed according to the linear approximated nuclear stopping power, $p(z)dz=(a_{el} \times z+b_{el})dz$, where $a_{el}$ and $b_{el}$ are simulation parameters describing the nuclear energy loss. After calculating the local probability of amorphization $p_{c \rightarrow a}$ of that volume, another random number decides, depending on the current state, whether the volume gets amorphous or recrystallized. This step is looped for the average hit per ion in the simulation window, counted by TRIM collision data.