WireHashMap whm = new WireHashMap(tile.getWireHashMap());
// Traverse all non-PIP wire connections starting at this source wire. If any
// such wire connections lead to a sink wire that is not already a connection of
// the source wire, mark it to be added as a connection
for (Integer wire : whm.keySet()) {
Set<WireConnection> wcToAdd = new HashSet<>();
Set<WireConnection> checkedConnections = new HashSet<>();
Queue<WireConnection> connectionsToFollow = new LinkedList<>();
// Add the wire to prevent building a connection back to itself