commit Timur algorithm implementation