[PD] dynamic table length and envelope change