Rewrote OffsetTool
OffsetTool tests pass.