Magnetostriction of single crystals of yttrium doped with rare earths impurities