Monte Carlo algorithm for the double exchange model optimized for parallel computations