public static StatInfo generateBundleStatistics(int id, float emn, float emx) {

		ArrayList<Float> stats = new ArrayList<Float>();
		if (Database.BUNDLES.size() < Database.DB_ARRAY.size())
			return new StatInfo(stats, id, StatInfo.DONT_SHOW);
		// TreeMap<Float, ArrayList<Integer>> BUNDLES

		for (Entry<Float, float[][]> ent : Database.DB_ARRAY.entrySet()) {
			float[][] dats = ent.getValue();
			for (int bun : Database.BUNDLES.get(ent.getKey())) {
				stats.add(dats[bun][id]);
			}
		}
		return new StatInfo(stats, id, StatInfo.DONT_SHOW, emn, emx);
	}