path based on spline and BDNF randomized on path