iter.py: Modify origin intervals in some cases.