made the front of paths smoother by making first vertex a reference to current position.