Adjacent didn't work, back to using get_dist.