Researchers create a method for magnetically programming materials to make cubes that are very picky about what they connect with, enabling more-scalable self-assembly.