https://123dok.net/document/q5m4dlww-finding-optimal-probabilistic-generators-for-xml-collections.html