after seeing that the db files never went above 1Mb, I decided to go back to a normal dict