Finished sampling with distance