Increase stack size to 2MB