xrange, while 1 modified.