You could make a list and iterate over a few to test each range or boundaries.