Added so-pmi for new distances