[PD] Dynamically setting array bounds