Allow offset to be 0, fixes #96