qcats = {0:2437,1:4678,2:8586,3:8589};