Fix up calcHashAB