use sdbm hash function