Range in case of Roller position

You might find this technique useful.

in your case, for a rule to work out which window to look at for any given roller.