*and* the length of the long diagonals, are all whole numbers (integers)?
The "long diagonals" are the distances from one corner of the box to the farthest opposite corner. Note that there are seven numbers here that need to be integers, and that there are a lot of different pythagorean triples involved.