fixed first half of tree