qcats = {0:2148,1:2639,2:3521,3:4989};