regroup and increase

if 3 bricks or more same value => regroup and change value