sophia: change assign logic of sequential counters