add a JSTS-based maximum-disjoint-set
add squares-touching-points in JSTS
remove dependency in SVG.math.rect