Name functions with verbs/actions.  This is validating size, no?  `validateSize`?