val qToWrite = math.max(firstTAtMaxAcc, nclasses+2)