Optimization: don’t use ranges unless needed

Closes #10.
Update coverage report
Tag the v0.5.1 release