qcats = {0:1872,1:2177,2:2354,3:2514,4:3223,5:8017};