Small changes to nearest neighbor search speed test.