Calculate axis aligned bounding boxes for SVG paths