Calculate offset *more* correctly.
Release 0.0.4