Using enums for domainsize