Gen2 battery is significantly smaller...
What do you mean by "Gen2"? If you mean the 40 kWh packs... yes, like the 24 kWh and 30 kWh packs, they are smaller in physical volume and weight than the 62 kWh pack. The 24 kWh, 30 kWh, and 40 kWh packs and modules are all the same size and about the same weight.
Looks like the new packs are actually about the same size. Slightly taller, some lumps and bumps (e.g. BMS on top) and a lot less free space inside the case.
Yes, the 62 kWh pack is basically the same on top (fits against the same vehicle floor), but the case is deeper. The closer packaging and deeper case accommodate the almost 50% increase in module volume resulting from 50% more cells of essentially the same size.
The other thing is weight. I think Gen 2 was about 440lb, Gen 3 62kWh is 900lb.
There shouldn't be nearly that much difference. The 62 kWh pack has 50% more cells of essentially the same size and weight each. The current (40 kWh and 62 kWh) packs use essentially (or maybe exactly) the same cells, so 50% more of them means 50% more capacity. The weight increase should be less than 50%, because the 62 kWh pack's modules are more efficiently packaged (they don't have end covers for every eight cells).
For the purpose of minimizing weight for the same energy storage, modules from either the 40 kWh or 62 kWh packs should be used (because they have the same cells, each containing much more energy than the older cells).
This project used, and showed in detail, both the older (24 kWh, 30 kWh, 40 kWh) and newer (62 kWh) styles of modules:
Toyota 4Runner 4x4 Race truck Leaf conversion