Add CPU number check.