bug fixed

1)hash function
2) table size calculation