*/
private Comparator<Node> getComparator(Node[] nodes, int fromIndex, int toIndex) {
Box3 bound = getBoundingBox(nodes, fromIndex, toIndex);
if (bound.lengthX() > bound.lengthY() && bound.lengthX() > bound.lengthZ()) {
return COMPARATORS[NodeComparator.X_AXIS];
} else if (bound.lengthY() > bound.lengthZ()) {
return COMPARATORS[NodeComparator.Y_AXIS];
} else {
return COMPARATORS[NodeComparator.Z_AXIS];