THE SPEEEEEEEEEED (added multithread and also triangle intersection)