final spicy tree transformation