Workign fast Model7 frequency tables with 5 grams