Fix the problem that generated two extra WPs at the start.
Adding the option to generate inner waypoints