Inner and outer shell contributions to the charge state distribution in heavy ion collisions