- fixed bug in computing keylemma
- fixed bug in creating tree structure