Added Max travel distance constraint