moved hashing of label in eden.graph