Energetics and geometry of conducting polymers from oligomers