BSPTree ray tracing now works well !
The problem was a way too large epsilon causing triangles to appear unnecessarily in several different space division boxes. Precision has now been increased and the code has been made more robust. Try it out on the bunny.