Implement mercy mode
Fix mercy mode calculation