To make a geometrically stable structure in a mineral, atoms must fit together in terms of both their size and charge. The atoms have to fit together so that their electron shells can interact with one another and they also have to produce a neutral molecule. For these reasons the sizes and electron shell structure of atoms determine what element combinations are possible and the geometrical form that various minerals take. Because electrons are donated and received, it is the ionic radius of the element that controls the size and determines how atoms fit together in minerals.