Why must cells undergo mitosis