fixed new TSD code and adjusted to allow TSD present in >= 1% of copies