Statistics for Vectorizing Line Drawings of Arbitrary Thickness via Boundary-based Topology Reconstruction