change Edge hash function to something much lighter