for the morton.enhanced bvh builder: doing local tree roations until no sah gain could be achieved