new threshold table
bugfix : added correct number of divisions to threshold table