hypothetically better box_crosses algorithm for the outside case