longest inc sequence in a vector