Good water quality and water flow. You won't have algae
I use a phosphate reactor and a good skimmer.
I have 2 snails in a 90 gallon and next to nothing algae except the thin stuff I clean off the glass with the magnet cleaner. Just takes time for a mature tank to keep it away