remove the check for positive distances