How to land sons before gavelkind succession?

Hey I'm starting to realize gavelkind seems like it might not be so bad if I play aggressively and land my sons before I die, and I have twice managed to not lose any land on succession, but one time had a glitch. I had an empire and gave my son a kingdom, but a second one was created for him on elective gavelkind succession? And the whole time it said I was going to lose a duchy to him until my death and I kept the duchy?

I'm just wondering if I hold a kingdom I need to give each son a duchy, and an Empire I need to give each son a kingdom? Or can I get away with giving them less, or is that supposed bare minimum not even enough? I mean, I am trying to hold two duchies at once and it gives me some grief.

reddit.com
u/Gusosaurus — 3 days ago