change something sot that the medial curve interpolation information is in the right place now