Adaptive distance sampling