correct for max tract length
start to improve manual correction