needletree structure complete