optimized find-orientationsv3::compute-his