lowered # of reversals in line tasks from 20 to 14 (fixes #44)