show_UNRES.py - large loops speedup by using xrange