small enhancement; only use nearest