expand both flows in if-then-else blocks