add longest increasing sequence