NXP-10717: better way to check that maxSize is allowed by taking into account the quotas set on the rest of children