some fixes on kdtree
fix bug in light init
modify const for better quality
fix bug on size of the output
modify the best scene