change to mod 3 instead of mod 2, and add a greater than
First layer:
(time%3>1)*100
Second layer:
(time%3>0)*100
Also, if you want to reduce the frequency of the change, you can do something like this:
((time/2)%2>1)*100
to divide the frequency in half.