Instrument for measuring precise dimensions of small distances