add class for longest increasing substring.