Ion beam induced epitaxial regrowth and layer by layer amorphization of compound semiconductors during MeV ion implantation