Find SVG paths of nested boxes