Sped up distance measurements