> Dumb question: Why is there a fixed limit? A lot of the code creates temporary arrays like: int foo[MAX_LAYERS]; Switching to dynamic allocation wouldn't be *hard* but it would take some time to go through all the code and rewrite it all.