Small progress on inversion algorithm