algo_HMM --> tab fixing upto line 1678