write posterior switching probabilities per branch