AKAZE optimizations