Add -s option to save intermediate dict file

-s option to save intermediate dictionnary file, with index length rounded to power of 2