max-and-next-max1 is created