For CP/M the interpreter should be configured with a pool size of about 4500 nodes for a TPA of 54k bytes. One node will allocate five bytes, so 205 nodes must be subtracted per one kilobyte of TPA below 54K bytes (and can be added for every kilobyte above 54K).
For your convenience, here is a CP/M COM file of the interpreter, preconfigured for 54K bytes of TPA:
Note that it will just crash when started on a system with less of 54K bytes TPA.