[algorithms] add new target function