https://code.google.com/p/tree-cbass/