binary tree assembler fix, import cleanup