Added support for interpolation between selected segments