linefit harder (bug 884013)