private static void generateLeafs(){
		for(int i = 0 ; i < Config.labels.size() ; i++){
			ArrayList<Composant> list = Config.hash.get(Config.labels.get(i));
			int j = 0 ;
			while(j < list.size()){
				Composant c = list.get(j);

				System.out.println("\t " + c);
				if(c.getList().size() == 1){
					if(c.getList().get(0).equals("Leaf")){
						if(Config.labels.get(i).contains("SL")){
								SETNode s = new SETNode(Config.labels.get(i), c.getWeight());
								leaf.add(s);
								addToTable(s);
							}else{
								Node n = new Node(Config.labels.get(i), c.getWeight());
								leaf.add(n);
								addToTable(n);
							}
							nameLeaf.add(Config.labels.get(i));
							list.remove(j);
						}else{
							j++;
						}
					}else{
						//System.out.println("here");
						j++;
					}
				}
			}
		}