Range must be bounded by constant expressions

In reply to lalithjithan:

The key question is: what is ‘size’? It cannot be a variable.