modification de Nearest