qcats = {0:2553,1:2622,2:6462,3:7981};