Unfinished port of the BST towards rust 0.11pre