An efficient tree-based computation of a metric comparable to a natural diffusion distance