Removing dynamic allocation from most method calls, replacing memory allocation of hash keys in method calls by sbdm hashes