works with the VS2010 runtime, too. Also reduce the stack size requirements to avoid depending on __chkstk_ms().