adding cost curves from tasks