I don't see why you introduce this variable when Lines, Faces and Cells already have a ```getDimension()``` method that returns the same information?