Fixed bug in parallel wire construction function.