qcats = {0:2552,1:6173,2:6465,3:6919};