Change 64 constants to MAX_HASHLEN