The process can be repeated for all dimensions of the system to determine the complete center of mass. The utility of the algorithm is that it allows the mathematics to determine where the "best" center of mass is, instead of guessing or using cluster analysis to "unfold" a cluster straddling the periodic boundaries. If both average values are zero, formula_23, then formula_20 is undefined. This is a correct result, because it only occurs when all particles are exactly evenly spaced. In that condition, their "x" coordinates are mathematically identical in a .