Made nearest neighbour deterministic, instead of picking random at draws