fixed memory leak by throwing out all burn-in trees