Reduce the max stack size needed.