share calculate stth