In the back (imo - or how I did it) it's okay to touch in a few places, as long there is some space for fish to still be able to swim, but on the sides I like clearance that allows space for cleaning, at least a couple inches or the thickness of a large Mag-float.