When I use \BeginBox in algorithmic, I find that the spacing between the box inside and outside is particularly large. How can I fix it? 