perf improv for wires drawing
fixing regression in wire handling for Ports