Moore voting algorithm for calc majority