Effect of contact stresses on shape recovery of NiTiCu thin films