def short_node_gen(graph, inqueue, dst_sid, procno):
    """
	Adding all nodes from the graph to the inqueue. At the end it adds terminating object in the amount of proccount.
	This function will be threaded. 
	"""
    for node in graph.nodes:
        if node == dst_sid:
            continue
        inqueue.put(node)
    for _ in range(procno):
        inqueue.put(None)
