range function did not work if step is negative: range( ~from 5 ~to 1 ~step -1 ) did not work.