pub const MAX_DOCUMENTS: usize = 8;
The most KML documents read from one file, one after another; past it, the rest are counted in a note. A later document identical to the first doesn’t count.