min-threshold added for walking a distance