FIX makeTree immutable input