hash and size