made the front of paths smoother by having the last vertex always at the position of the planet.