def METHOD_NAME(base_length: U256, modulus_length: U256) -> Uint:
    """
    Estimate the complexity of performing a modular exponentiation.
    Parameters
    ----------
    base_length :
        Length of the array representing the base integer.
    modulus_length :
        Length of the array representing the modulus integer.
    Returns
    -------
    complexity : `Uint`
        Complexity of performing the operation.
    """
    max_length = max(Uint(base_length), Uint(modulus_length))
    words = (max_length + 7) // 8
    return words**2