A genetic algorithm approach to fitting polyatomic spectra via geometry shifts