Allocate specific memory for hashing