fn calculate_svg_bbox(tree: &mut Tree)
Calculates SVG’s size and viewBox in case there were not set.
Simply iterates over all nodes and calculates a bounding box.