[PD] modeling problem: stack overflow