finished nearest neighbor