add experiments to tex and update of threshold algorithm