On the termal effect of ion implantation