prepare branch n-1