Increase stack_size for packaging run to 2Mb to avoid stack size exceeded error