TST reduce testing time and split check function
Re-cythonize _tree.pyx