flist.c: change add first/last complexity fixed