build tree selection of categories in product manager