On the internal constitution of the inner planets