working on capacitor 2d generator: struggling with multi-seg viennamesh