Fixing the calculation of the hash

This needs to use sane values in order to always get the same hash