split problems into packages of 10 each