Using the code posted here, I created a nice hierarchical clustering:
Let\'s say t
You can also try cut_tree, it has a height parameter that should give you what you want for ultrametrics.