Iterative estimation of total π-electron energy