qcats = {0:2159,1:4629,2:6508,3:8228};