Self-organizing crystal structure