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