Space filler for UV

divided it into smaller squares
it’s a Fmod node with 0.5 mult., but how to set parameters for each square - this is the main question