adding incr/decr to min/max path length