More smart detection of attack - count of pieces is taken into account.