Measure tool lenght and diameter together with single sensor