It isn't obvious whether you should add vertices in global coordinates, or local to the ImmediateGeometry Node.