adding hash costs