I ran smaller examples of input and I didn't get my program to segfault. I then compiled it with -g and it segfaulted on the big input with no message. (It took 2 hours and 10 minutes.) I'm running it doing a GC on every check, but it will never finish. Any suggestions?