added comparator
bottom tree init