Best idea I can come up with, just have a well-planted tank, and let some ramshorn snails run amok for a couple months before adding the puffers. The snails will be too well-established for the puffers to eat them all, and the live plants will soak up the nutrients, leaving little for algae to grow on. Java ferns in particular are nitrate sponges.