Correlation in narrow nanorods: a variational potential–configuration interaction scheme