<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_maxweight(self, weight, concurrent_tasks, minweight=MINWEIGHT):
 """ Return an appropriate maxweight for use in the block_splitter """

        totweight = self.get_weight(weight)
        ct = concurrent_tasks or 1
        mw = math.ceil(totweight / ct)
        return max(mw, minweight)