dendro_benchmark for dendrogram pruning leaves make use of pyregion and a c script to identify edge pattern