qcats = {0:1812,1:2629,2:5533,3:8765,4:8767};