piece count modified