Implement FindLeadWinningPoint
Fix bug
Fix bug in local valiable