Origin fitting method