Domain size as a parameter when creating domains