share_diff needs to be performed on a BE version of the output hash to work, leading to false best_share values as spotted by luke-Jr.