Bugfix: Memory error in STACK_TYPE_CONST