Mums example

The example suffered from linear growth of the stack stc. This change fixes that by always placing the branch with the biggest interval first in the stack.