Change to always use the optomized path and the bezier curve