optimized hefty mining offloading blake and groestl to the cpu