polished jaccard distance