build static tree command