Implement all the three minimize turns functions