@donc This formula just gives you a rough upper bound, managing to introduce four magic numbers instead of one.  Why bother with this nonsense when you can just allocate a huge chunk of stack space?  Are we planning to compile dmd for an 8-bit micro with 256 bytes of stack?