The three-dimensional structure factor S(q) was computed on a grid of wavevectors q = [2πκ x /L x , 2πκ y /L y , 2πκ z /L z ], where κ i = -N g /2, . . . , N g -1 and L i are the box dimensions, by dividing the simulation box into N 3 g cubic cells with centers r =