modify assign task

make task scheduler assign only one map task at once