simplify xrange(len