Adding equal line search for comparison