The parameter of method allocatePages(), the numPage parameter
must be greater than equal to the numSegaments parameter.
User response
For the parameter of method allocatePages(), the
numPages, enter a value that is greater than or equal to the numSegments
parameter.