Remove bug from staticIota in typecons

step is not used -> if passed anything other than 1 as step, staticIota
will behave incorrectly.
Merge pull request #1755 from lgvz/fix

Remove bug from staticIota in typecons