I'm calculating the energy of all the E isomers of octadecene using Opt+Freq with DFT B3LYP 3-21G. Everything was fine from 1-octadecene to E-5-octadecene, but from E-6-octadecene onwards it wasn't able to optimize the molecule and it started turning out imaginary frequencies. I don't know what changed between 5 and 6, could it be that the hydrocarbon chain is too large to optimize? Does anyone know what could be causing thus and how to correct it? Help is very much appreciated.