qcats = {0:436,1:2546,2:7362};