factor out FunctionDecomposer#add_{is,os}_wires
at long last last long method is gone