improve k_nn graph calculation