Fix rendering performance with large number of nested inline elements
Fix rendering performance with large number of nested inline elements

The algorithm for determining the final size of inline frames had
exponential complexity in the number of nested inline frames due to
calling itself recursively twice for every level.

Addresses #639

dompdf/dompdf,dompdf/dompdf