scale KNN input