ajout algo nearest neighbour (!attention: non testé)