bug fixes while working on binary_search_tree; checkpoint before trying to optimize normalization