Fixed inversion count on edge cases, split-inversions