bonds between single conformations
rewrote the spline algorithm