Monte Carlo algorithms based on the number of potential moves