Size-biased permutation of Dirichlet partitions and search-cost distribution