update for task splitting

use the max of (splits calculated by "maxworksize" (mb)) and (specified "totalwork")