%                                                                                                     ▄▄                                    
%   ▄▄█▀▀▀█▄█                                                ██                       ▄█▀▀▀█▄█        ██                                    
% ▄██▀     ▀█                                                ██                      ▄██    ▀█                                              
% ██▀       ▀ ▄██▀██▄▀████████▄█████▄ ▀████████▄▀███  ▀███ ██████  ▄▄█▀██▀███▄███    ▀███▄    ▄██▀██▀███   ▄▄█▀██▀████████▄  ▄██▀██  ▄▄█▀██ 
% ██         ██▀   ▀██ ██    ██    ██   ██   ▀██  ██    ██   ██   ▄█▀   ██ ██▀ ▀▀      ▀█████▄█▀  ██  ██  ▄█▀   ██ ██    ██ ██▀  ██ ▄█▀   ██
% ██▄        ██     ██ ██    ██    ██   ██    ██  ██    ██   ██   ██▀▀▀▀▀▀ ██        ▄     ▀███       ██  ██▀▀▀▀▀▀ ██    ██ ██      ██▀▀▀▀▀▀
% ▀██▄     ▄▀██▄   ▄██ ██    ██    ██   ██   ▄██  ██    ██   ██   ██▄    ▄ ██        ██     ███▄    ▄ ██  ██▄    ▄ ██    ██ ██▄    ▄██▄    ▄
%   ▀▀█████▀  ▀█████▀▄████  ████  ████▄ ██████▀   ▀████▀███▄ ▀████ ▀█████▀████▄      █▀█████▀ █████▀▄████▄ ▀█████▀████  ████▄█████▀  ▀█████▀
%                                       ██                                                                                                  
%                                     ▄████▄                                                                                                

\usepackage{forest}
\tikzset{algpxIndentLine/.style={draw=lightgray}}
\algrenewcommand{\alglinenumber}[1]{#1}

\newenvironment{algo}[1]{
    \begin{algorithm}
        \begin{spacing}{1.2}
            \caption{\textsc{#1}}
            \begin{algorithmic}[1]
}{
            \end{algorithmic}
        \end{spacing}
    \end{algorithm}
}