Asymptotic slowing down of the nearest-neighbor classifier