Figure 8: Scene-based control flow optimization.