Having "boundries" in a spread?

hello,

im trying to build something that kinda works like an LFO.
i have a spread with different values and increase those.
if one of the values gets oven certain limit, i want it to be “cleared” …
like if the “range” of that spread would be from 0 to 4 and the one slice gets 4.01 in fact it will be 0.01 ??

hope you have some advice

thanks

Mod (Value) or Map (Value) in wrap mode.