Energy partitioning with the CNDO method