50 10 1 40 20 first positive nearest_neighbor