Fix the 2to3 issue: xrange not exist in py3k but replaced as range