fix: argument of position index should decrement because that argument starting from 1.
fix: integer overflow.
change: README.md has been updated.