Smoothening out the racing line with corner joints