Advanced technique for measuring relative length changes under control of temperature and helium-gas pressure