Implement box intersection.