smaz_generic-tools: new version of Worst_Index limited to a range