"•arbitrary default values - why there are 16 max heroes per player? There were no such limit in H3 at all."
It's limit of heroes (8 heroes are permitted on map and 16 heroes permitted including garrisoned heroes). These values were hardcoded.
OK, I will remove these checks for now.