Enum sizes for array combinatorics

For #980