Optimize wiring.