make thread stack usage just under 64k