Optimized molecule.search