Changed N_GLOBAL_TALLIES to three.