Implement AttackPattern::getSmallestPiece() and tests.