Don't use variable length arrays because some compilers cannot protect the stack with them.