Set up structure of Joined Forest Tree algorithm.