Solid-phase epitaxy (SPE) is a transition between the amorphous and crystalline phases of a material. It is usually produced by depositing a film of amorphous material on a crystalline substrate, then heating it to crystallize the film. The single-crystal substrate serves as a template for crystal growth. The annealing step used to recrystallize or heal silicon layers amorphized during ion implantation is also considered to be a type of solid phase epitaxy. The impurity segregation and redistribution at the growing crystal-amorphous layer interface during this process is used to incorporate low-solubility dopants in metals and silicon.