@SuppressWarnings("unchecked")
	Hashtable getAllPolymerInfo(BitSet bs) {
		Hashtable finalInfo = new Hashtable();
		Vector modelVector = new Vector();
		int modelCount = getModelCount();
		for (int i = 0; i < modelCount; ++i) {
			Hashtable modelInfo = new Hashtable();
			Vector info = new Vector();
			int polymerCount = getPolymerCountInModel(i);
			for (int ip = 0; ip < polymerCount; ip++) {
				Hashtable polyInfo = getPolymerInfo(i, ip, bs);
				if (!polyInfo.isEmpty())
					info.add(polyInfo);
			}
			if (info.size() > 0) {
				modelInfo.put("modelIndex", new Integer(i));
				modelInfo.put("polymers", info);
				modelVector.add(modelInfo);
			}
		}
		finalInfo.put("models", modelVector);
		return finalInfo;
	}