allow crossing wires (with a cost); better documentation