-#define HEAPSIZE 1024 /* Size of heap in words */
-#define DATASTACKSIZE 1024 /* Size of stack in words */
-#define RETURNSTACKSIZE 1024 /* Max subroutine call depth */
+#define HEAPSIZE 65536 /* Size of heap in words */
+#define DATASTACKSIZE 65536 /* Size of stack in words */
+#define RETURNSTACKSIZE 65536 /* Max subroutine call depth */