Attempt to adapt to curve which doesn't contain the origin.
Add test for offset curve.