def apply(hub, subs, low):
    """
    Look up the transparetn requisites as defined in state modules and apply
    them to the respective low chunks
    """
    treq = hub.idem.treq.gather(subs, low)
    refs = {}
    for ind, chunk in enumerate(low):
        path = f"{chunk['state']}.{chunk['fun']}"
        if path not in refs:
            refs[path] = []
        if ind not in refs[path]:
            refs[path].append(ind)
    for chunk in low:
        if not chunk['state'] in treq:
            continue
        if not chunk['fun'] in treq[chunk['state']]:
            continue
        rule = treq[chunk['state']][chunk['fun']]
        for req, r_refs in rule.items():
            for ref in r_refs:
                if ref not in refs:
                    continue
                for rind in refs[path]:
                    req_chunk = low[rind]
                    if req not in chunk:
                        chunk[req] = []
                    chunk[req].append({req_chunk['state']: req_chunk['__id__']}
                        )
    return low
