use the static const variables in getoDimension() and getNNodes()