reduce stack size to 1MB