The tortuosity of occupied crossings of a box in critical percolation