Neighbour lists now is a priority queue with k nearest neighbours.