Duff's device seems to be helpful for hash function
Removed PROFILE()