Tissues of multicellular organisms consist of stem cells and differentiated cells. Stem cells divide to produce new stem cells or differentiated cells. Differentiated cells divide to produce new differentiated cells. We show that such a tissue design can reduce the rate of fixation of mutations that increase the net proliferation rate of cells. It has, however, no consequence for the rate of fixation of neutral mutations. We calculate the optimum relative abundance of stem cells that minimizes the rate of generating cancer cells. There is a critical fraction of stem cell divisions that is required for a stochastic elimination ('wash out') of cancer cells.