Use parent offset to calcualte the line number
fudge the offsets a bit, stop from going too far back in history