using templates for leaf intersectors on MIC, gets rid of a lot of code...