Simplify the hash implementation of environment's vector.