Linear light-processing functions (e.g., routing, splitting, filtering) are key requiring configuration to implement on a programmable photonic integrated circuit (PPIC). In recirculating waveguide meshes (which include loop-backs), this is usually done manually. Some previous results describe explorations perform task automatically, but their efficiency or applicability still limited. paper, w...