get_distance_rank complete, but no test
no bug version, but not rerank
an ok version, nrow needs to be updated
this monring;s final version