limit size of tree selection box [Issue #51]