If detected shape not correct, simulate new machine, tool and adapt path