Optimization for KNN43.