add tdim attribute to Domain.shape
update fields for max. topological dimension