The stainless steel flue pipe and the combustion air inlet cannot be shorter. They are typically just laid on the bottom of the toolbox and run from one end of the box to an outlet on the other end by curling them a little.
The heater must not be mounted vertically on its nose or end or...