The exact probabilities of branching patterns under terminal and segmental growth hypotheses