two major fixes: matching sidechain thresholds, performance speedup (hashing less)