bintree conversions