A model of a crystal structure