Recursive approach in sparse matrix LU factorization