@@ -43,6 +43,10 @@ class ContentMolecule {
missingAtoms = cachedAtoms;
chosenOnes.push(k);
}
+
+ if (missingAtoms.length == 0) {
+ break;
+ }
if (missingAtoms.length == 0) {