Optimize choice_mithod().