Move nodes towards the origin to prevent numerical errors.