Replacing replicas2array with ipa_string2hash