Insert conversions to algorithm itsel.