fixed #33

The dimension value must be a constant expression.