hash code calculation in O(1)