fixed constant definition error
Made symbolToDimension and dimensionToSymbol defined at compile time instead of in init()