Fast tree aggregation for consensus hierarchical clustering