mesh space dimension is now defined at compile time