There is still a bug with find_nearest()