changed to get better performance on blake algorithm