distance meas with fits