using 64 bit integers to sort index and distance on stack
Merge branch 'master' of https://github.com/embree/embree