Selfconsistent calculations of heavy ion potentials, demonstrated for 16O + 16O☆