sorry  i am a   dumb   robot  i do not read what i am writing p you are completly read  the current code is overkill  assertin makes more sense  it is more readable  etc  and the previous line already checks the size of the dictionary  fixed in my new patchset 