fetch dimentions from arrays rather than parameter tables.
fetch dimentions from arrays rather than parameter tables.