Add a function with different implementation to find LIS