fixing custom dim management
Merge pull request #137 from simboss/2.3.x-customdim

GEOS-5630 fixing custom dim management