Samples up to maximum difficulty.

def fetch(self):
    """Samples up to maximum difficulty."""
    length = np.random.randint(1, self._max_length + 1)
    nesting = np.random.randint(1, self._max_length + 1)
    return length, nesting