Any dimensional box intersection