// if(testInclusion(xmax, xmin, ymax, ymin, zmax, zmin) || depth > 3 ) {
// System.out.println("small or included");
totalmass = totalmass + localmass;
// inertia matrix for this local box
InertiaMatrix localinertia = new InertiaMatrix();
localinertia.assignScale(
(1.0f / 12.0f) * localmass * (yl * yl + zl * zl),
(1.0f / 12.0f) * localmass * (xl * xl + zl * zl),
(1.0f / 12.0f) * localmass * (yl * yl + xl * xl));
// translate inertia matrix