finished adoption of box distance as a splitting metric