wrote own consensus function; ties count as unaligned