Avoid calculationg features for ref set multiple times