Added minimal travel distance for retraction.