3rd order approximation - Matlab shuts down

Hello,
I am working with a NK model and I can simulate it at order 1 and 2 without problems. But when simulating at order 3 - that is, stoch_simul(order=3,irf=20) - Matlab shuts down. I tried several times, also on different computers.
I’d be grateful for any hint on why it might happen.
I am working with a NK model and I can simulate it at order 1 and 2 without problems. But when simulating at order 3 - that is, stoch_simul(order=3,irf=20) - Matlab shuts down. I tried several times, also on different computers.
I’d be grateful for any hint on why it might happen.