WIP: Added BreimanSplitter
WIP: small optimizations
WIP: fix BreimanSplitter