qcats = {0:1839,1:3432,2:4020,3:8746};