add diff_weight
toriaezu commit