Nearest points detection OK