Shorter code.
Add intersectBoxBox and tests.