initializes the phrase tree with the objectiveFn