do some optimisation in the trail the ant found.