QuoteOriginally posted by: Traden4AlphaOne tricky bit about hi-D cubes is that the diagonally-opposite corner of the cube may be farther from the target point than some of the points in adjacent cubes. In fact, in the case of N=5, some points 2 cubes away can be closer than the opposite diagonal! A target point that falls near a grid point might be best interpolated using points from a multi-D cross (e.g., {[0,0,+1],[0,0,-1],[0,+1,0],[0,-1,0],[+1,0,0],[-1,0,0]})Or one might use more isotropic (near spherical) cells from the start, although indexing might become a bit tricky and one needs to handle boundaries, unless periodicity is there. Kelvin/Weaire-Phelan structure structure for 3 dimensions, other sphere packings to get a bit higher. Which brings you quickly to qMC again