improved tracecurve, added mini data