bugfix: use ceil to keep index greater than or equal to 1
Merge pull request #69 from chrox/master

bugfix: use ceil to keep index greater than or equal to 1