I have my rocks touching the glass in some places. But it's open enough that water flows behind. I think it's up to you, what size rocks you have and how much space you have to work with. You want to try and minimize the amount of food that can get stuck back there.