MAX_ELEMENTS
if (index >= MAX_ELEMENTS)
if (index < MAX_ELEMENTS)
parsed_element elements[MAX_ELEMENTS];
bool optional[MAX_ELEMENTS];