common: use consts for array sizes