How long a cell takes to complete the cell cycle depends on