Max pattern sequence