Fix reduce_change function, was totally wrong