Our sampling algorithm is described in detail in the supplementary material and sketched hereafter (see also Fig. ). We start by computing vectors from the surface of the sphere evenly spaced to be candidates for the crystal lattice basis vector a * (the process is repeated in parallel for b * and c * , but we describe it only for a * for simplicity). We rank them and keep only the most promising candidates among them. Then for each candidate a, we attach a copy of the given