Store hash lookup result after 1st lookup. Added getHash method which return corresponding hash giving error bound