qcats = {0:1872,1:2159,2:4629,3:7094};