Set a configurable limit on maximum call stack depth. It can be useful in memory-constrained situations with large numbers of stages.