fix range computation
start, stop and step added fix #28