What about a distance from walls for proper ventilation?
In my first reply. I had them against a wall, so maybe only a couple inches behind it at the most. I would think that you wouldn't need much more than that - just enough for a little bit of airflow.