try to make minimal hash code and table size by gperf