Fix cube KNN by coordinate

Fix cube KNN by coordinate

Edit