reduced stack usage on windows to 16K