q =
-gons, p =
per vertex