Routine skipping issue

You don’t seem to have any loops.

If you have 40-50 self-paced routines which are copies rather than a loop, the issue could be due to differences between the routines or memory due to the inefficiency of the code (creating many more objects that needed).