Removing short-circuit when threshold==0, because this is useful to get the _med_distances for every clade.