Auto-translated
The reason is to avoid situations like "attacked a group of giants (they fall apart after 2 weeks, regardless of the castle), and half of them are titans." Reducing the role of uncontrollable randomness.
Firstly, if really needed, you can check for GS (Game State).
Secondly, if half of them are titans, it means we took too many troops against them and need to take fewer, so they form 7 stacks.