Construct the BranchNode mat file