allow 2D dims to be configured