Thermal expansion of rare earth metals