longest non decreasing seq