integrating curve into transitions - partial merge