Attempt to increase stack size and fix recursive C++ RTE