def maximum_element_size_for_length(length):
    """
	
	Returns the maximum element size representable in a given number of bytes.
	
	:arg length: the limit on the length of the encoded representation in bytes
	:type length: int
	:returns: the maximum element size representable
	:rtype: int
	
	"""
    return 2 ** (7 * length) - 2
