This should avoid issues with oversized or undersized basis tables generated by the perfect hash code. This is done by starting with approximately 4 entries per basis table entry, scaling up if the basis values are too large to avoid conflicts. Differential Revision: https://phabricator.services.mozilla.com/D293172