Don't use VLA.

This could cause potential problems with stack overflows.