A rectangular box with side lengths $1$, $2$, and $16$ is cut into two congruent smaller boxes with integer side lengths. Compute the square of the largest possible length of the space diagonal of one of the smaller boxes.

Let's think step by step and output the final answer within \boxed{}.
user