Create a custom stack for the phase, to clean up the solver's code