variable-length arrays are not recommended: not all compilers support VLA, VLAs increase size of code, see https://lkml.org/lkml/2018/3/7/621