qcats = {0:466,1:2549,2:8586};