Geometry nodes mesh

Hey guys,
I need a geometry nodes for mesh cilinder where can deal with to curve separate

Other problem
When there are no curves, the ends have a larger diameter than the junctions