Confinement Potential and pi electron delocalization in polyconjugated organic materials