fixed d6 prim_pq