Adds parameter allowing upper bound to iterator.