terminal nodes on same level and get box shape