You can prevent this.
1st
You don't need that much algae for 3 shrimp in 1 tank, A brownish algae on glass or hardscape is always enough algae. (But you still have to feed them), shrimp can eat almost anything.
Veggie? Soften the Veggie using boiling water for 3-5 mins.Then after that use ice...