Switched the large range to an xrange to speed it up

should be faster ++