Factor out initialization in sequences into a separate method rather than the constructor so it can be called again when that sequence is restarted.
Discovered how to increase the stack size giving more room for variables.