qcats = {0:625,1:2687,2:4122,3:10311};