Crystal device could be used to build tiny particle accelerators