Final PCFG constructor