Majority done with better algo