discover array size at compile time