I have this type of figure containing pseudocode and my result is like shown here:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{cryptocode}
\usepackage{dashbox}
\begin{document}
\begin{figure}[h]
\centering
\fbox{%
\pseudocode[]{%
\textsc{\large Left} \<\< \textsc{\large Right} \\[][\hline]
\<\< \\[-0.5\baselineskip]
\begin{subprocedure}%
\dbox{\procedure{\textsc{Short}}{%
\text{command} \\
\text{command}
}}
\end{subprocedure}\\[-1.5\baselineskip]
\< \sendmessageright*{(x,y)} \<
\<\<\begin{subprocedure}%
\dbox{\procedure{\textsc{Long }}{%
\text{command loooooong}\\
\text{command loooooong}
}}
\end{subprocedure}\\[-1.5\baselineskip]
\< \sendmessageleft*{(a,b)} \<
\<\< \\[-1.5\baselineskip]
\begin{subprocedure}%
\dbox{\procedure{\textsc{Middle }}{%
\text{command longer}\\
\text{command longer}
}}
\end{subprocedure}
}
}
\end{figure}
\end{document}
How can I achieve that Function "LONG" is aligned at the beginning of the right column? In other words, I want to remove the white-space between "LONG" and the arrows...
Also, is there the possibility to align "SHORT" to the right, next to the arrow? Such that the white-space would be to its left?
Thank your for helping me out, I can't figure out a valid solution


\hspace*{1cm}or -1cm after the individual beginnings of the subroutines. It is not a beautiful solution I guess.. – jonnyx Nov 10 '18 at 20:55