Deformation of the oxygen heavy ions in a molecular description of the 16O + 16O system