def METHOD_NAME(node_id, slots, node_feat_dict):
    slot_dict = {}
    slot_cout = {}
    for slot in slots:
        slot_dict[slot] = ([], [])
        slot_cout[slot] = 0
    for n in node_id:
        nf = node_feat_dict[n]
        for slot in slots:
            if slot in nf:
                slot_dict[slot][0].extend(nf[slot])
                seg = np.zeros(len(nf[slot]), dtype="int64") + slot_cout[slot]
                slot_dict[slot][1].extend(seg)
            else:
                slot_dict[slot][0].append(0)
                slot_dict[slot][1].extend([slot_cout[slot]])
            slot_cout[slot] += 1
    return slot_dict