An interference method of measuring long distances