Added hashed similarity matrix