<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_size(self, data_size):
 """ Set the data slice size. """

        if len(str(data_size)) > self.first:
            raise ValueError(
              'Send size is too large for message size-field width!')
        
        self.data_size = data_size