qcats = {0:437,1:1859,2:2153,3:2348,4:4311};