High-energy potential surfaces of Li2 and the CO3 system