max successive product in array