Nearest neighbours by dhammack