added comment to getTaskSeglen