[PD] maximum value of an array