Use a method to get the swap size

That way it can be replaced via subclass.