compare hash of full data instead of comparing prefix equality